From: kn Date: Wed, 3 Nov 2021 02:02:36 +0000 (+0000) Subject: Zap swapips remnants X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=e44563d918e9e15d0636b631b6361418ee0db8fb;p=openbsd Zap swapips remnants There since 1998, probably dead long before. "I am sure swabips died before you were born." deraadt --- diff --git a/sbin/ifconfig/ifconfig.c b/sbin/ifconfig/ifconfig.c index 184f0d30b20..f60e2e57733 100644 --- a/sbin/ifconfig/ifconfig.c +++ b/sbin/ifconfig/ifconfig.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ifconfig.c,v 1.447 2021/11/02 23:39:27 kn Exp $ */ +/* $OpenBSD: ifconfig.c,v 1.448 2021/11/03 02:02:36 kn Exp $ */ /* $NetBSD: ifconfig.c,v 1.40 1997/10/01 02:19:43 enami Exp $ */ /* @@ -411,11 +411,6 @@ const struct cmd { { "alias", IFF_UP, 0, notealias }, { "-alias", -IFF_UP, 0, notealias }, { "delete", -IFF_UP, 0, notealias }, -#ifdef notdef -#define EN_SWABIPS 0x1000 - { "swabips", EN_SWABIPS, 0, setifflags }, - { "-swabips", -EN_SWABIPS, 0, setifflags }, -#endif /* notdef */ { "netmask", NEXTARG, 0, setifnetmask }, { "mtu", NEXTARG, 0, setifmtu }, { "nwid", NEXTARG, 0, setifnwid },