Subject: patch-01-in_var against wrong ver?
To: None <netbsd-bugs@netbsd.org>
From: None <mcmahill@mtl.mit.edu>
List: netbsd-bugs
Date: 06/18/1999 10:20:46
I was about to rebuild a 1.4 kernel and wanted to apply the 2 patches that
have been issued to 1.4.  patch-00-lfs went fine, but it looks like
patch-01-in_var takes src/sys/netinet/in_var.h from v1.33 to v1.34 while
the version of src/sys/netinet/in_var.h thats distributed with NetBSD-1.4
is v1.32.  Anyway, I grabbed v1.34  and recreated the diff (to go
from 1.32 to 1.34)  and it looks like the only change between the patch on
ftp.netbsd.org and mine is the version string anyway.

Perhaps this could be updated on the ftp server?  I've attached the
updated patch.

Is this the right list for this message?

Thanks

-Dan




*** sys/netinet/in_var.h.orig   Fri Jun 18 10:10:22 1999
--- sys/netinet/in_var.h        Fri Jun 18 10:10:59 1999
***************
*** 1,4 ****
! /*    $NetBSD: in_var.h,v 1.32.2.1 1999/05/03 22:24:49 perry Exp $    */
  
  /*-
   * Copyright (c) 1998 The NetBSD Foundation, Inc.
--- 1,4 ----
! /*    $NetBSD: in_var.h,v 1.34 1999/05/16 19:33:27 thorpej Exp $      */
  
  /*-
   * Copyright (c) 1998 The NetBSD Foundation, Inc.
***************
*** 153,162 ****
        /* struct in_ifaddr *ia; */ \
  { \
        for (ia = IN_IFADDR_HASH((addr).s_addr).lh_first; \
!           ia != NULL && !in_hosteq(ia->ia_addr.sin_addr, (addr)) && \
!           (ia->ia_ifp->if_flags & IFF_UP) == 0; \
!           ia = ia->ia_hash.le_next) \
!                continue; \
  }
  
  /*
--- 153,164 ----
        /* struct in_ifaddr *ia; */ \
  { \
        for (ia = IN_IFADDR_HASH((addr).s_addr).lh_first; \
!            ia != NULL; \
!            ia = ia->ia_hash.le_next) { \
!               if (in_hosteq(ia->ia_addr.sin_addr, (addr)) && \
!                   (ia->ia_ifp->if_flags & IFF_UP) != 0) \
!                       break; \
!       } \
  }
  
  /*