]> git.puffer.fish Git - mirror/frr.git/commit
2005-08-16 Paul Jakma <paul.jakma@sun.com>
authorpaul <paul>
Tue, 16 Aug 2005 15:22:14 +0000 (15:22 +0000)
committerpaul <paul>
Tue, 16 Aug 2005 15:22:14 +0000 (15:22 +0000)
commit2c61ae37821f4ece2b2f22d716ac8a135808e70c
tree2ef1ae310612294f9a8ec16bb94d7858070c757b
parent60f0651c32e6ee35da5f2d227dc471427568ff45
2005-08-16 Paul Jakma <paul.jakma@sun.com>

* ripd.c: (general) Fix previous commit, broke multicast bind and
  hence setting of source port, which broke communication with
  non-borken ripd. Fix removes more stuff from rip_interface.c
  than it adds to ripd.c ;)
  (rip_create_socket) the to argument really is a from argument,
  rename it. Set the source port to RIP port unconditionally, it's
  required.
  (rip_send_packet) Set from address correctly for multicast.
  (rip_output_process) trivial: num can be BSS specified, rather
  than in body.
* rip_interface.c: (rip_interface_multicast_set) strip out
  redundant stuff related to bind, which rip_create_socket does.
  Just make it set the multicast socket option, as per the
  interface concerned, no more.
ripd/ChangeLog
ripd/rip_interface.c
ripd/ripd.c