summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ospf6ctl/ospf6ctl.c
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2007-10-14 01:28:06 +0000
committerderaadt <deraadt@openbsd.org>2007-10-14 01:28:06 +0000
commitc5ba8b41e1a130c1a97d465626ba6001f8b82219 (patch)
tree52eb987bb82b757c1cc486011dc5d82b15c5f5f0 /usr.sbin/ospf6ctl/ospf6ctl.c
parentshould not be in the tree (diff)
downloadwireguard-openbsd-c5ba8b41e1a130c1a97d465626ba6001f8b82219.tar.xz
wireguard-openbsd-c5ba8b41e1a130c1a97d465626ba6001f8b82219.zip
please lint
Diffstat (limited to 'usr.sbin/ospf6ctl/ospf6ctl.c')
-rw-r--r--usr.sbin/ospf6ctl/ospf6ctl.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.sbin/ospf6ctl/ospf6ctl.c b/usr.sbin/ospf6ctl/ospf6ctl.c
index 0a75808611d..84d963ddc61 100644
--- a/usr.sbin/ospf6ctl/ospf6ctl.c
+++ b/usr.sbin/ospf6ctl/ospf6ctl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ospf6ctl.c,v 1.3 2007/10/12 09:29:45 norby Exp $ */
+/* $OpenBSD: ospf6ctl.c,v 1.4 2007/10/14 01:28:06 deraadt Exp $ */
/*
* Copyright (c) 2005 Claudio Jeker <claudio@openbsd.org>
@@ -131,6 +131,7 @@ main(int argc, char *argv[])
printf("%-11s %-29s %-6s %-10s %-10s %-8s\n",
"Interface", "Address", "State", "HelloTimer", "Linkstate",
"Uptime");
+ /*FALLTHROUGH*/
case SHOW_IFACE_DTAIL:
if (*res->ifname) {
ifidx = if_nametoindex(res->ifname);
@@ -143,6 +144,7 @@ main(int argc, char *argv[])
case SHOW_NBR:
printf("%-15s %-3s %-12s %-8s %-15s %-9s %s\n", "ID", "Pri",
"State", "DeadTime", "Address", "Iface","Uptime");
+ /*FALLTHROUGH*/
case SHOW_NBR_DTAIL:
imsg_compose(ibuf, IMSG_CTL_SHOW_NBR, 0, 0, NULL, 0);
break;
@@ -174,6 +176,7 @@ main(int argc, char *argv[])
case SHOW_RIB:
printf("%-20s %-17s %-12s %-9s %-7s %-8s\n", "Destination",
"Nexthop", "Path Type", "Type", "Cost", "Uptime");
+ /*FALLTHROUGH*/
case SHOW_RIB_DTAIL:
imsg_compose(ibuf, IMSG_CTL_SHOW_RIB, 0, 0, NULL, 0);
break;