Hi again, > De: "David CARLIER" <devne...@gmail.com> > À: "Cyril Bonté" <cyril.bo...@free.fr> > Cc: haproxy@formilux.org, "Willy TARREAU" <wtarr...@haproxy.com> > Envoyé: Lundi 4 Juillet 2016 14:11:42 > Objet: Re: [PATCH] : cleanup : connection > > > > > > If you all prefer a patch like ? > ... > #ifndef BSD > #define th_sport source > #define th_dport dest > #endif
I was suggesting to not use any #ifdef/#ifndef at all and only use tcphdr->th_sport and th_dport. Cyril