diff options
author | julian <julian@FreeBSD.org> | 1998-07-06 05:00:53 +0000 |
---|---|---|
committer | julian <julian@FreeBSD.org> | 1998-07-06 05:00:53 +0000 |
commit | d2e04c552cc7f1e62a7a1b770c368fdd7f2e0dbe (patch) | |
tree | c47d5b8047b36041c7b2630062a80fbc7c93dc04 /sys | |
parent | c1549d68b23f7649a15ccef897956dd702ff9111 (diff) | |
download | FreeBSD-src-d2e04c552cc7f1e62a7a1b770c368fdd7f2e0dbe.zip FreeBSD-src-d2e04c552cc7f1e62a7a1b770c368fdd7f2e0dbe.tar.gz |
Fix braino in switching to TAILQ macro.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/netinet/ip_input.c | 4 | ||||
-rw-r--r-- | sys/netinet/ip_output.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/netinet/ip_input.c b/sys/netinet/ip_input.c index 32adbfd..f3533b9 100644 --- a/sys/netinet/ip_input.c +++ b/sys/netinet/ip_input.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)ip_input.c 8.2 (Berkeley) 1/4/94 - * $Id: ip_input.c,v 1.91 1998/07/02 05:49:12 julian Exp $ + * $Id: ip_input.c,v 1.92 1998/07/06 03:20:16 julian Exp $ * $ANA: ip_input.c,v 1.5 1996/09/18 14:34:59 wollman Exp $ */ @@ -416,7 +416,7 @@ tooshort: /* * Check our list of addresses, to see if the packet is for us. */ - for (ia = TAILQ_FIRST(in_ifaddrhead); ia; + for (ia = TAILQ_FIRST(&in_ifaddrhead); ia; ia = TAILQ_NEXT(ia, ia_link)) { #define satosin(sa) ((struct sockaddr_in *)(sa)) diff --git a/sys/netinet/ip_output.c b/sys/netinet/ip_output.c index d85f36b..49e969b 100644 --- a/sys/netinet/ip_output.c +++ b/sys/netinet/ip_output.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)ip_output.c 8.3 (Berkeley) 1/21/94 - * $Id: ip_output.c,v 1.75 1998/06/21 14:53:32 bde Exp $ + * $Id: ip_output.c,v 1.76 1998/07/06 03:20:17 julian Exp $ */ #define _IP_VHL @@ -445,7 +445,7 @@ sendit: * as the packet runs through ip_input() as * it is done through a ISR. */ - for (ia = TAILQ_FIRST(in_ifaddrhead); ia; + for (ia = TAILQ_FIRST(&in_ifaddrhead); ia; ia = TAILQ_NEXT(ia, ia_link)) { /* * If the addr to forward to is one |