version 1.1.1.1, 2012/02/21 17:26:12
|
version 1.1.1.2, 2013/07/21 23:54:40
|
Line 1475 rip_send_packet (u_char * buf, int size, struct sockad
|
Line 1475 rip_send_packet (u_char * buf, int size, struct sockad
|
sin.sin_addr.s_addr = htonl (INADDR_RIP_GROUP); |
sin.sin_addr.s_addr = htonl (INADDR_RIP_GROUP); |
|
|
/* multicast send should bind to local interface address */ |
/* multicast send should bind to local interface address */ |
|
memset (&from, 0, sizeof (from)); |
from.sin_family = AF_INET; |
from.sin_family = AF_INET; |
from.sin_port = htons (RIP_PORT_DEFAULT); |
from.sin_port = htons (RIP_PORT_DEFAULT); |
from.sin_addr = ifc->address->u.prefix4; |
from.sin_addr = ifc->address->u.prefix4; |