Source-Changes-HG archive

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

[src/netbsd-1-5]: src/sys/net pullup 1.73 -> 1.74 (approved by eleng-1-5)



details:   https://anonhg.NetBSD.org/src/rev/8f1a27471bb0
branches:  netbsd-1-5
changeset: 489706:8f1a27471bb0
user:      itojun <itojun%NetBSD.org@localhost>
date:      Sat Oct 07 23:09:44 2000 +0000

description:
pullup 1.73 -> 1.74 (approved by eleng-1-5)
repair SIOCGIFP{DST,SRC}ADDR.

diffstat:

 sys/net/if.c |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r 3e919b2837aa -r 8f1a27471bb0 sys/net/if.c
--- a/sys/net/if.c      Sat Oct 07 20:21:35 2000 +0000
+++ b/sys/net/if.c      Sat Oct 07 23:09:44 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if.c,v 1.62.4.4 2000/10/06 07:00:31 itojun Exp $       */
+/*     $NetBSD: if.c,v 1.62.4.5 2000/10/07 23:09:44 itojun Exp $       */
 
 /*-
  * Copyright (c) 1999, 2000 The NetBSD Foundation, Inc.
@@ -938,6 +938,8 @@
                if ((error = suser(p->p_ucred, &p->p_acflag)) != 0)
                        return (error);
                /* FALLTHROUGH */
+       case SIOCGIFPSRCADDR:
+       case SIOCGIFPDSTADDR:
        case SIOCGIFMEDIA:
                if (ifp->if_ioctl == 0)
                        return (EOPNOTSUPP);



Home | Main Index | Thread Index | Old Index