From f6cd1a34503375f18ceddb884eeda9e5dcac6e20 Mon Sep 17 00:00:00 2001 From: henning Date: Sat, 12 Jul 2014 19:58:17 +0000 Subject: [PATCH] ewps, that giant table has -inet6 twice, for SMALL and !SMALL no breakage involved, but wasn't correct in the SMALL case either --- sbin/ifconfig/ifconfig.c | 4 ++-- 1 file 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 }, -- 2.20.1