mirror_frr/ripd
Renato Westphal 4a3867d0d3 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>
2016-08-07 21:05:26 -04:00
..
.gitignore [administrivia] Update gitignore files 2008-08-22 20:02:08 +01:00
Makefile.am build: get rid of INCLUDES, use AM_CPPFLAGS 2016-06-03 15:46:59 -04:00
rip_debug.c *: nuke ^L (page feed) 2014-06-04 06:58:02 +02:00
rip_debug.h ripd: resolve debug statements issue (bug 442) 2011-02-24 13:52:14 +03:00
rip_interface.c lib: fix setting of IPv4 multicast sockopts on OpenBSD 2016-08-07 21:05:26 -04:00
rip_interface.h *: add VRF ID in the API message header 2015-11-03 22:04:36 -08:00
rip_main.c all: add default log file if none are defined 2016-07-11 12:57:24 -07:00
rip_offset.c [cleanup] Convert XMALLOC/memset to XCALLOC 2009-06-12 17:07:49 +01:00
rip_peer.c *: nuke ^L (page feed) 2014-06-04 06:58:02 +02:00
rip_routemap.c When a route-map configuration is used to set the nexthop to a value, make 2015-06-11 09:19:59 -07:00
rip_snmp.c *: snmp: add a load of "static" specifiers 2016-07-28 07:27:47 -04:00
rip_zebra.c ripd: allow to enable/disable the ECMP feature 2016-05-26 17:12:05 +00:00
ripd.c Quagga: Fix code to use srandom/random 2016-05-29 20:24:55 -04:00
ripd.conf.sample Initial revision 2002-12-13 20:15:29 +00:00
ripd.h ripd: allow to enable/disable the ECMP feature 2016-05-26 17:12:05 +00:00
RIPv2-MIB.txt Initial revision 2002-12-13 20:15:29 +00:00