Zap swapips remnants
authorkn <kn@openbsd.org>
Wed, 3 Nov 2021 02:02:36 +0000 (02:02 +0000)
committerkn <kn@openbsd.org>
Wed, 3 Nov 2021 02:02:36 +0000 (02:02 +0000)
There since 1998, probably dead long before.

"I am sure swabips died before you were born." deraadt

sbin/ifconfig/ifconfig.c

index 184f0d3..f60e2e5 100644 (file)
@@ -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 },