summaryrefslogtreecommitdiffstats
path: root/isisd/isis_lsp.c
diff options
context:
space:
mode:
authorChristian Franke <chris@opensourcerouting.org>2013-01-14 23:41:57 +0100
committerDonald Sharp <sharpd@cumulusnetworks.com>2016-09-23 18:12:16 +0200
commite6f8d09592499a659b73661b23ef4dc0e47f579a (patch)
tree729606dec716b030c2835097a5e7366de268a051 /isisd/isis_lsp.c
parentripd: split-horizon default differed between rip_interface_new and _reset (diff)
downloadfrr-e6f8d09592499a659b73661b23ef4dc0e47f579a.tar.xz
frr-e6f8d09592499a659b73661b23ef4dc0e47f579a.zip
lib: update Solaris multicast API (BZ#725)
On OpenIndiana/Solaris the build fails with "unsupported multicast API". It's only in the IPv4 part where setsockopt IP_MULTICAST_IF needs a local address and not the index (IPv6 wants the index). The following code walks the list of interfaces until it finds the matching index and uses the interface's local address for the setsockopt call. I don't know if it works on Solaris < 10 (I guess yes, but I don't have any machine to verify it). [NB: this breaks unnumbered setups that use the same IPv4 address on multiple interfaces. -- equinox@opensourcerouting.org] Reported-by: Brian Utterback <brian.utterback@oracle.com> Signed-off-by: Christian Franke <chris@opensourcerouting.org> Patchwork #762
Diffstat (limited to 'isisd/isis_lsp.c')
0 files changed, 0 insertions, 0 deletions