]> git.proxmox.com Git - mirror_frr.git/commit
lib: simplify interface of setsockopt_multicast_ipv4().
authorDmitrij Tejblum <tejblum@yandex-team.ru>
Thu, 18 Aug 2011 16:22:17 +0000 (20:22 +0400)
committerDmitrij Tejblum <tejblum@yandex-team.ru>
Fri, 19 Aug 2011 18:02:17 +0000 (22:02 +0400)
commitbf510e9bc06b55ae9d9c1d6ed67152b94e80977e
tree4466103c8ad05307cbd88c7509c8ff03976f260f
parent9fa6be78ecbbda17be20b8d2bc4fdde915e33d7e
lib: simplify interface of setsockopt_multicast_ipv4().

* sockopt.[ch] (setsockopt_ipv4_multicast): ifindex is now mandatory (all
  non-ancient OSes can use it anyway), and if_addr parameter (the address
  of the interface) is now gone. (setsockopt_ipv4_multicast_if):
  IP_MULTICAST_IF processing moved to this new function

* ospf_network.c (ospf_if_add_allspfrouters, ospf_if_drop_allspfrouters,
  ospf_if_add_alldrouters, ospf_if_drop_alldrouters, ospf_if_ipmulticast),
  rip_interface.c (ipv4_multicast_join, ipv4_multicast_leave,
  rip_interface_new): adapt to the new interface
lib/sockopt.c
lib/sockopt.h
ospfd/ospf_network.c
ripd/rip_interface.c