summaryrefslogtreecommitdiffstats
path: root/usr.sbin/slaacctl
diff options
context:
space:
mode:
authorflorian <florian@openbsd.org>2017-08-28 15:35:48 +0000
committerflorian <florian@openbsd.org>2017-08-28 15:35:48 +0000
commitee85fc539dd2b42aa58b49a0e7259bd1ac7b7b75 (patch)
treeec53eeab526ad6eceb1be6d0d0a22a37033176e1 /usr.sbin/slaacctl
parentFix exit value when diffing directories with missing files and the -N (diff)
downloadwireguard-openbsd-ee85fc539dd2b42aa58b49a0e7259bd1ac7b7b75.tar.xz
wireguard-openbsd-ee85fc539dd2b42aa58b49a0e7259bd1ac7b7b75.zip
print id first to make this symetrical to address proposals
Diffstat (limited to 'usr.sbin/slaacctl')
-rw-r--r--usr.sbin/slaacctl/slaacctl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/slaacctl/slaacctl.c b/usr.sbin/slaacctl/slaacctl.c
index 43e16293faf..bfc50017394 100644
--- a/usr.sbin/slaacctl/slaacctl.c
+++ b/usr.sbin/slaacctl/slaacctl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: slaacctl.c,v 1.12 2017/08/22 13:56:49 florian Exp $ */
+/* $OpenBSD: slaacctl.c,v 1.13 2017/08/28 15:35:48 florian Exp $ */
/*
* Copyright (c) 2005 Claudio Jeker <claudio@openbsd.org>
@@ -306,9 +306,9 @@ show_interface_msg(struct imsg *imsg)
NULL, 0, NI_NUMERICHOST | NI_NUMERICSERV))
err(1, "cannot get router IP");
- printf("\t\trouter: %s\n", hbuf);
printf("\t\tid: %4lld, state: %15s\n",
cei_dfr_proposal->id, cei_dfr_proposal->state);
+ printf("\t\trouter: %s\n", hbuf);
printf("\t\trouter lifetime: %10u\n",
cei_dfr_proposal->router_lifetime);
printf("\t\tPreference: %s\n", cei_dfr_proposal->rpref);