summaryrefslogtreecommitdiff
path: root/usr.sbin/ospfctl/ospfctl.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2007-10-14 01:28:09 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2007-10-14 01:28:09 +0000
commite2e889605af5bf84e238e9708dd64522c016d452 (patch)
treeb83db452c613252d659b40bf96698837f3ef6e01 /usr.sbin/ospfctl/ospfctl.c
parentfb4a664d7a48437f7b084941d73effdfa7148322 (diff)
please lint
Diffstat (limited to 'usr.sbin/ospfctl/ospfctl.c')
-rw-r--r--usr.sbin/ospfctl/ospfctl.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.sbin/ospfctl/ospfctl.c b/usr.sbin/ospfctl/ospfctl.c
index 73e761e3026..c4850b60147 100644
--- a/usr.sbin/ospfctl/ospfctl.c
+++ b/usr.sbin/ospfctl/ospfctl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ospfctl.c,v 1.39 2007/10/11 12:03:37 norby Exp $ */
+/* $OpenBSD: ospfctl.c,v 1.40 2007/10/14 01:28:08 deraadt Exp $ */
/*
* Copyright (c) 2005 Claudio Jeker <claudio@openbsd.org>
@@ -130,6 +130,7 @@ main(int argc, char *argv[])
printf("%-11s %-18s %-6s %-10s %-10s %-8s %3s %3s\n",
"Interface", "Address", "State", "HelloTimer", "Linkstate",
"Uptime", "nc", "ac");
+ /*FALLTHROUGH*/
case SHOW_IFACE_DTAIL:
if (*res->ifname) {
ifidx = if_nametoindex(res->ifname);
@@ -142,6 +143,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;
@@ -173,6 +175,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;