diff options
author | paul <paul> | 2005-06-03 18:01:50 +0000 |
---|---|---|
committer | paul <paul> | 2005-06-03 18:01:50 +0000 |
commit | f69bd9da8b1f7e0f297d4ffb370552fc41af3c81 (patch) | |
tree | 02352cf7c23e0f6feca56b39de18a11c66bea84b /ripd/ChangeLog | |
parent | a4e987e0b0b264bd3898f567cb7efec9b155d740 (diff) |
2005-06-03 Paul Jakma <paul.jakma@sun.com>
* ripd.c: (rip_create_socket) Make it static.
Remove the getservbyname stuff, as RFC2453 3.9.2 says non-RIP
port messages should be discarded, quagga doesnt accept them,
no need to lookup port.
Take a 'to' argument, if socket should be bound to something else.
setsockopt_so_recvbuf might need privs, move it to the raised
privileges section.
dont forget to close the socket if bind fails.
(rip_send_packet) use strncpy, just in case (address is under
our control anyway, but still).
dont duplicate rip_create_socket - just use it.
(rip_create) rip_create_socket takes an argument now, modify.
Diffstat (limited to 'ripd/ChangeLog')
-rw-r--r-- | ripd/ChangeLog | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/ripd/ChangeLog b/ripd/ChangeLog index ebd93255..4bdc8de9 100644 --- a/ripd/ChangeLog +++ b/ripd/ChangeLog @@ -1,8 +1,18 @@ 2005-06-03 Paul Jakma <paul.jakma@sun.com> * ripd.c: (rip_create_socket) move it up so rip_send_packet - can use it too. - + can use it too. Make it static. Remove the getservbyname stuff, + as RFC2453 3.9.2 says non-RIP port messages should be discarded, + quagga doesnt accept them, no need to lookup port. + Take a 'to' argument, if socket should be bound to something else. + setsockopt_so_recvbuf might need privs, move it to the raised + privileges section. + dont forget to close the socket if bind fails. + (rip_send_packet) use strncpy, just in case (address is under + our control anyway, but still). + dont duplicate rip_create_socket - just use it. + (rip_create) rip_create_socket takes an argument now, modify. + 2005-06-01 Paul Jakma <paul.jakma@sun.com> * rip_interface.c: Fix authentication, no-auth impossible to specify |