summaryrefslogtreecommitdiff
path: root/usr.sbin/ospfd
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2006-03-09 16:58:41 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2006-03-09 16:58:41 +0000
commitcb73a08d3770f185239e15e6b9db99e846a55839 (patch)
tree662a274d79d38fbf0fa204578c5290dc6d8231fb /usr.sbin/ospfd
parent7f3acd09ec9ce30c9619a7d9919e54be87ba28ed (diff)
Add some NOTREACHED to please lint.
Diffstat (limited to 'usr.sbin/ospfd')
-rw-r--r--usr.sbin/ospfd/log.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/usr.sbin/ospfd/log.c b/usr.sbin/ospfd/log.c
index 14b90726c01..ebba51eb84b 100644
--- a/usr.sbin/ospfd/log.c
+++ b/usr.sbin/ospfd/log.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: log.c,v 1.4 2006/03/09 15:43:21 claudio Exp $ */
+/* $OpenBSD: log.c,v 1.5 2006/03/09 16:58:40 claudio Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -228,6 +228,7 @@ if_type_name(enum iface_type type)
case IF_TYPE_VIRTUALLINK:
return ("VIRTUALLINK");
}
+ /* NOTREACHED */
return ("UNKNOWN");
}
@@ -242,6 +243,7 @@ if_auth_name(enum auth_type type)
case AUTH_CRYPT:
return ("crypt");
}
+ /* NOTREACHED */
return ("unknown");
}
@@ -254,6 +256,7 @@ dst_type_name(enum dst_type type)
case DT_RTR:
return ("Router");
}
+ /* NOTREACHED */
return ("unknown");
}
@@ -270,6 +273,7 @@ path_type_name(enum path_type type)
case PT_TYPE2_EXT:
return ("Type 2 ext");
}
+ /* NOTREACHED */
return ("unknown");
}