summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhenning <henning@openbsd.org>2014-07-12 19:58:17 +0000
committerhenning <henning@openbsd.org>2014-07-12 19:58:17 +0000
commitf6cd1a34503375f18ceddb884eeda9e5dcac6e20 (patch)
tree914b17cd36319ede7bd57611fe7786e4ff8b4b36
parentWhitespace (diff)
downloadwireguard-openbsd-f6cd1a34503375f18ceddb884eeda9e5dcac6e20.tar.xz
wireguard-openbsd-f6cd1a34503375f18ceddb884eeda9e5dcac6e20.zip
ewps, that giant table has -inet6 twice, for SMALL and !SMALL
no breakage involved, but wasn't correct in the SMALL case either
-rw-r--r--sbin/ifconfig/ifconfig.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/ifconfig/ifconfig.c b/sbin/ifconfig/ifconfig.c
index 9882cbacb8f..133ff5546fd 100644
--- a/sbin/ifconfig/ifconfig.c
+++ b/sbin/ifconfig/ifconfig.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ifconfig.c,v 1.286 2014/07/11 16:41:51 henning Exp $ */
+/* $OpenBSD: ifconfig.c,v 1.287 2014/07/12 19:58:17 henning Exp $ */
/* $NetBSD: ifconfig.c,v 1.40 1997/10/01 02:19:43 enami Exp $ */
/*
@@ -476,7 +476,7 @@ const struct cmd {
{ "txpower", NEXTARG, 0, setignore },
{ "nwflag", NEXTARG, 0, setignore },
{ "rdomain", NEXTARG, 0, setignore },
- { "-inet6", IFXF_NOINET6, 0, setignore } ,
+ { "-inet6", AF_INET6, 0, removeaf },
{ "description", NEXTARG, 0, setignore },
{ "descr", NEXTARG, 0, setignore },
{ "wol", IFXF_WOL, 0, setignore },