Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/sys/netinet/ip_input.c,v retrieving revision 1.38 retrieving revision 1.39 diff -u -p -r1.38 -r1.39 --- src/sys/netinet/ip_input.c 1996/10/10 23:12:49 1.38 +++ src/sys/netinet/ip_input.c 1996/10/13 02:03:05 1.39 @@ -1,4 +1,4 @@ -/* $NetBSD: ip_input.c,v 1.38 1996/10/10 23:12:49 christos Exp $ */ +/* $NetBSD: ip_input.c,v 1.39 1996/10/13 02:03:05 christos Exp $ */ /* * Copyright (c) 1982, 1986, 1988, 1993 @@ -898,7 +898,7 @@ save_rte(option, dst) olen = option[IPOPT_OLEN]; #ifdef DIAGNOSTIC if (ipprintfs) - kprintf("save_rte: olen %d\n", olen); + printf("save_rte: olen %d\n", olen); #endif if (olen > sizeof(ip_srcrt) - (1 + sizeof(dst))) return; @@ -931,7 +931,7 @@ ip_srcroute() OPTSIZ; #ifdef DIAGNOSTIC if (ipprintfs) - kprintf("ip_srcroute: nhops %d mlen %d", ip_nhops, m->m_len); + printf("ip_srcroute: nhops %d mlen %d", ip_nhops, m->m_len); #endif /* @@ -941,7 +941,7 @@ ip_srcroute() *(mtod(m, struct in_addr *)) = *p--; #ifdef DIAGNOSTIC if (ipprintfs) - kprintf(" hops %x", ntohl(mtod(m, struct in_addr *)->s_addr)); + printf(" hops %x", ntohl(mtod(m, struct in_addr *)->s_addr)); #endif /* @@ -961,7 +961,7 @@ ip_srcroute() while (p >= ip_srcrt.route) { #ifdef DIAGNOSTIC if (ipprintfs) - kprintf(" %x", ntohl(q->s_addr)); + printf(" %x", ntohl(q->s_addr)); #endif *q++ = *p--; } @@ -971,7 +971,7 @@ ip_srcroute() *q = ip_srcrt.dst; #ifdef DIAGNOSTIC if (ipprintfs) - kprintf(" %x\n", ntohl(q->s_addr)); + printf(" %x\n", ntohl(q->s_addr)); #endif return (m); } @@ -1042,7 +1042,7 @@ ip_forward(m, srcrt) dest = 0; #ifdef DIAGNOSTIC if (ipprintfs) - kprintf("forward: src %x dst %x ttl %x\n", + printf("forward: src %x dst %x ttl %x\n", ip->ip_src.s_addr, ip->ip_dst.s_addr, ip->ip_ttl); #endif if (m->m_flags & M_BCAST || in_canforward(ip->ip_dst) == 0) { @@ -1106,7 +1106,7 @@ ip_forward(m, srcrt) code = ICMP_REDIRECT_HOST; #ifdef DIAGNOSTIC if (ipprintfs) - kprintf("redirect (%d) to %x\n", code, (u_int32_t)dest); + printf("redirect (%d) to %x\n", code, (u_int32_t)dest); #endif } }