diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2019-07-25 15:23:40 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2019-07-25 15:23:40 +0000 |
commit | 75975ef5ba7b52a35c21ae272016bdbd7c5284b9 (patch) | |
tree | bc0672d925a0bf40400ea2637ec70eb81038a2e4 /sbin/ifconfig | |
parent | dd5d2e6da3fda33a62df5e32040796d4a016f681 (diff) |
AF_INET comes before AF_INET6. Shorten line to <80 chars.
pointed out by claudio@
Diffstat (limited to 'sbin/ifconfig')
-rw-r--r-- | sbin/ifconfig/ifconfig.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sbin/ifconfig/ifconfig.c b/sbin/ifconfig/ifconfig.c index 2a2dfe92db7..e3879e9fcc2 100644 --- a/sbin/ifconfig/ifconfig.c +++ b/sbin/ifconfig/ifconfig.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ifconfig.c,v 1.407 2019/07/25 13:56:23 krw Exp $ */ +/* $OpenBSD: ifconfig.c,v 1.408 2019/07/25 15:23:38 krw Exp $ */ /* $NetBSD: ifconfig.c,v 1.40 1997/10/01 02:19:43 enami Exp $ */ /* @@ -1518,12 +1518,12 @@ void setautoconf(const char *cmd, int val) { switch (afp->af_af) { - case AF_INET6: - setifxflags("inet6", val * IFXF_AUTOCONF6); - break; case AF_INET: setifxflags("inet", val * IFXF_AUTOCONF4); break; + case AF_INET6: + setifxflags("inet6", val * IFXF_AUTOCONF6); + break; default: errx(1, "autoconf not allowed for this address family"); } |