| version 1.30, 1996/03/16 23:53:58 |
version 1.31, 1996/07/10 18:13:39 |
|
|
| *(mtod(m, struct in_addr *)) = *p--; |
*(mtod(m, struct in_addr *)) = *p--; |
| #ifdef DIAGNOSTIC |
#ifdef DIAGNOSTIC |
| if (ipprintfs) |
if (ipprintfs) |
| printf(" hops %x", ntohl(mtod(m, struct in_addr *)->s_addr)); |
printf(" hops %lx", ntohl(mtod(m, struct in_addr *)->s_addr)); |
| #endif |
#endif |
| |
|
| /* |
/* |
|
|
| while (p >= ip_srcrt.route) { |
while (p >= ip_srcrt.route) { |
| #ifdef DIAGNOSTIC |
#ifdef DIAGNOSTIC |
| if (ipprintfs) |
if (ipprintfs) |
| printf(" %x", ntohl(q->s_addr)); |
printf(" %lx", ntohl(q->s_addr)); |
| #endif |
#endif |
| *q++ = *p--; |
*q++ = *p--; |
| } |
} |
|
|
| *q = ip_srcrt.dst; |
*q = ip_srcrt.dst; |
| #ifdef DIAGNOSTIC |
#ifdef DIAGNOSTIC |
| if (ipprintfs) |
if (ipprintfs) |
| printf(" %x\n", ntohl(q->s_addr)); |
printf(" %lx\n", ntohl(q->s_addr)); |
| #endif |
#endif |
| return (m); |
return (m); |
| } |
} |