summaryrefslogtreecommitdiffstats
path: root/zebra
diff options
context:
space:
mode:
authorRenato Westphal <renato@opensourcerouting.org>2016-08-04 15:07:26 +0200
committerDonald Sharp <sharpd@cumulusnetwroks.com>2016-08-08 03:05:26 +0200
commit4a3867d0d331ab64311f517bfb39bddfc933c9ee (patch)
treebbfb0e3efa099b216058d16937ec442d1d085a37 /zebra
parentospf6d: fix sendmsg on OpenBSD (diff)
downloadfrr-4a3867d0d331ab64311f517bfb39bddfc933c9ee.tar.xz
frr-4a3867d0d331ab64311f517bfb39bddfc933c9ee.zip
lib: fix setting of IPv4 multicast sockopts on OpenBSD
OpenBSD doesn't support the "ifindex hack" derived from RFC 1724 which allows an ifindex to be encoded in the imr_interface field (in_addr) of the ip_mreq structure. OpenBSD also doesn't support the RFC3678 Protocol-Independent socket API extensions, which allows an interface to be specified by its ifindex. With that said, in OpenBSD we still need to specify an interface by its IP address. This patch adds an exception in the multicast sockopt functions to handle this case. Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Diffstat (limited to 'zebra')
0 files changed, 0 insertions, 0 deletions