commit | 3f0bfc9e82e0d735be2cb06d5c4a3028650637bf | [log] [tgz] |
---|---|---|
author | Doug VanLeuven <roamdad@sonic.net> | Wed Sep 26 12:01:23 2012 +0000 |
committer | David Lamparter <equinox@opensourcerouting.org> | Thu Nov 01 22:58:36 2012 -0700 |
tree | 1d923623eaecc1cd05fdc285f1e7874ad638985c | |
parent | 837d16ccbe0fca413f8927da6a34b1e97ccada8a [diff] |
lib: treat OSX as BSD for IP_HDRINCL (BZ#739) Mac OS X needs HAVE_IP_HDRINCL_BSD_ORDER defined like BSD. If it's not defined, it'll fail like this: *** sendmsg in ospf_write failed to 224.0.0.5, id 0, off 0, len 64, interface en0, mtu 1500: Invalid argument Which is caused by reordering iph->ip_len in sockopt_iphdrincl_swab_htosys. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>