[BACK]Return to ip_input.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / netinet

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/sys/netinet/ip_input.c between version 1.30 and 1.31

version 1.30, 1996/03/16 23:53:58 version 1.31, 1996/07/10 18:13:39
Line 914  ip_srcroute()
Line 914  ip_srcroute()
         *(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
   
         /*          /*
Line 934  ip_srcroute()
Line 934  ip_srcroute()
         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--;
         }          }
Line 944  ip_srcroute()
Line 944  ip_srcroute()
         *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);
 }  }

Legend:
Removed from v.1.30  
changed lines
  Added in v.1.31

CVSweb <webmaster@jp.NetBSD.org>