Fix braino in switching to TAILQ macro.

This commit is contained in:
Julian Elischer 1998-07-06 05:00:53 +00:00
parent cdcc2613ac
commit d4295c3248
2 changed files with 4 additions and 4 deletions

View File

@ -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))

View File

@ -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