version 1.1.1.1, 2012/02/21 22:39:10
|
version 1.1.1.1.2.1, 2013/07/22 12:28:07
|
Line 741 kernel_handle_message(msg)
|
Line 741 kernel_handle_message(msg)
|
|
|
switch (rtm->rtm_type) { |
switch (rtm->rtm_type) { |
case RTM_NEWADDR: |
case RTM_NEWADDR: |
parse_addresses(ifa + 1, msg + ifa->ifam_msglen, | parse_addresses((caddr_t) ifa + 1, msg + ifa->ifam_msglen, |
ifa->ifam_addrs, &addr); |
ifa->ifam_addrs, &addr); |
myaddr_open_all_configured((struct sockaddr *) &addr); |
myaddr_open_all_configured((struct sockaddr *) &addr); |
break; |
break; |
case RTM_DELADDR: |
case RTM_DELADDR: |
parse_addresses(ifa + 1, msg + ifa->ifam_msglen, | parse_addresses((caddr_t) ifa + 1, msg + ifa->ifam_msglen, |
ifa->ifam_addrs, &addr); |
ifa->ifam_addrs, &addr); |
myaddr_close_all_open((struct sockaddr *) &addr); |
myaddr_close_all_open((struct sockaddr *) &addr); |
break; |
break; |