From: henning Date: Sat, 12 Jul 2014 19:58:17 +0000 (+0000) Subject: ewps, that giant table has -inet6 twice, for SMALL and !SMALL X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=f6cd1a34503375f18ceddb884eeda9e5dcac6e20;p=openbsd ewps, that giant table has -inet6 twice, for SMALL and !SMALL no breakage involved, but wasn't correct in the SMALL case either --- 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 },