|
|
| Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. |
| version 1.28, 1996/02/13 23:42:37 | version 1.29, 1996/02/26 23:17:06 | ||
|---|---|---|---|
|
|
||
| if (opt == IPOPT_SSRR) { | if (opt == IPOPT_SSRR) { | ||
| #define INA struct in_ifaddr * | #define INA struct in_ifaddr * | ||
| #define SA struct sockaddr * | #define SA struct sockaddr * | ||
| if ((ia = (INA)ifa_ifwithdstaddr((SA)&ipaddr)) == 0) | ia = (INA)ifa_ifwithladdr((SA)&ipaddr); | ||
| ia = (INA)ifa_ifwithnet((SA)&ipaddr); | |||
| } else | } else | ||
| ia = ip_rtaddr(ipaddr.sin_addr); | ia = ip_rtaddr(ipaddr.sin_addr); | ||
| if (ia == 0) { | if (ia == 0) { |