summaryrefslogtreecommitdiff
path: root/usr.sbin/ospfctl/ospfctl.c
diff options
context:
space:
mode:
authorKevin Steves <stevesk@cvs.openbsd.org>2005-10-16 17:12:31 +0000
committerKevin Steves <stevesk@cvs.openbsd.org>2005-10-16 17:12:31 +0000
commit14acfbd41844511b35997673c66a160f17a17d13 (patch)
treefab4d3138eb25eef1f94197d925af818b0d907b7 /usr.sbin/ospfctl/ospfctl.c
parente9acfb092f31dc14ddc0801bbb2d4b2160a296e6 (diff)
missing break caused erroneous auth-type crypt enabled in 'sh int'
when simple enabled; ok claudio@
Diffstat (limited to 'usr.sbin/ospfctl/ospfctl.c')
-rw-r--r--usr.sbin/ospfctl/ospfctl.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/ospfctl/ospfctl.c b/usr.sbin/ospfctl/ospfctl.c
index 1341a9e8a8c..b6ff5f67c01 100644
--- a/usr.sbin/ospfctl/ospfctl.c
+++ b/usr.sbin/ospfctl/ospfctl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ospfctl.c,v 1.18 2005/09/24 21:10:32 msf Exp $ */
+/* $OpenBSD: ospfctl.c,v 1.19 2005/10/16 17:12:30 stevesk Exp $ */
/*
* Copyright (c) 2005 Claudio Jeker <claudio@openbsd.org>
@@ -349,11 +349,13 @@ show_interface_msg(struct imsg *imsg)
case AUTH_SIMPLE:
printf(" Simple password authentication "
"enabled\n");
+ break;
case AUTH_CRYPT:
printf(" Message digest authentication "
"enabled\n");
printf(" Primary key id is %d\n",
iface->auth_keyid);
+ break;
default:
break;
}