Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/netinet backout previous commit (sanity check for family...



details:   https://anonhg.NetBSD.org/src/rev/f59f0f6d1ed0
branches:  trunk
changeset: 482920:f59f0f6d1ed0
user:      itojun <itojun%NetBSD.org@localhost>
date:      Fri Feb 25 08:37:05 2000 +0000

description:
backout previous commit (sanity check for family) - it seems to be doing
something wrong.  i'll revise it soon.

diffstat:

 sys/netinet/in.c |  5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)

diffs (19 lines):

diff -r 84ea3f7cdd6a -r f59f0f6d1ed0 sys/netinet/in.c
--- a/sys/netinet/in.c  Fri Feb 25 07:29:47 2000 +0000
+++ b/sys/netinet/in.c  Fri Feb 25 08:37:05 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: in.c,v 1.52 2000/02/25 07:11:38 itojun Exp $   */
+/*     $NetBSD: in.c,v 1.53 2000/02/25 08:37:05 itojun Exp $   */
 
 /*
  * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -366,9 +366,6 @@
                /* FALLTHROUGH */
        case SIOCSIFADDR:
        case SIOCSIFDSTADDR:
-               if (ifra->ifra_addr.sin_family != AF_INET)
-                       return (EAFNOSUPPORT);
-               /* FALLTHROUGH */
        case SIOCSIFNETMASK:
                if (ifp == 0)
                        panic("in_control");



Home | Main Index | Thread Index | Old Index