mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-10-31 23:46:26 +00:00
* 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. |
||
|---|---|---|
| .. | ||
| .cvsignore | ||
| ChangeLog | ||
| Makefile.am | ||
| rip_debug.c | ||
| rip_debug.h | ||
| rip_interface.c | ||
| rip_main.c | ||
| rip_offset.c | ||
| rip_peer.c | ||
| rip_routemap.c | ||
| rip_snmp.c | ||
| rip_zebra.c | ||
| ripd.c | ||
| ripd.conf.sample | ||
| ripd.h | ||
| RIPv2-MIB.txt | ||