On Freitag, 24. Juni 2022 10:37:46 CEST Antonio Quartulli wrote: > +/** > + * Returns whether the current configuration has dco enabled. > + */ > +static inline bool > +dco_enabled(const struct options *o) > +{ > + return !o->tuntap_options.disable_dco; > +}
I think it would be beneficial if this took a tun_options* instead, as it could be used more widely and replace the many "!tt->options.disable_dco" occurrences and alike. _______________________________________________ Openvpn-devel mailing list Openvpn-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openvpn-devel