diff options
author | Jun-ichiro itojun Hagino <itojun@cvs.openbsd.org> | 2000-10-07 03:43:17 +0000 |
---|---|---|
committer | Jun-ichiro itojun Hagino <itojun@cvs.openbsd.org> | 2000-10-07 03:43:17 +0000 |
commit | 98b6131b842da6813b2115b66007d233bc64cfa7 (patch) | |
tree | 7b3c4263283992b661a5a3787c50270fd8e0ff08 | |
parent | d374f5161c4970ac984c4183af697df7f4da61f7 (diff) |
repair SIOCGIFP*ADDR.
-rw-r--r-- | sys/net/if.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/net/if.c b/sys/net/if.c index 16c9f79b444..907ec88b903 100644 --- a/sys/net/if.c +++ b/sys/net/if.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if.c,v 1.37 2000/10/05 02:12:51 itojun Exp $ */ +/* $OpenBSD: if.c,v 1.38 2000/10/07 03:43:16 itojun Exp $ */ /* $NetBSD: if.c,v 1.35 1996/05/07 05:26:04 thorpej Exp $ */ /* @@ -797,6 +797,8 @@ ifioctl(so, cmd, data, p) 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); |