artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ad61876
)
Add default case to switch to silence a warning seen with gcc.
author
claudio
<claudio@openbsd.org>
Wed, 17 Aug 2022 09:15:06 +0000
(09:15 +0000)
committer
claudio
<claudio@openbsd.org>
Wed, 17 Aug 2022 09:15:06 +0000
(09:15 +0000)
usr.sbin/bgpd/printconf.c
patch
|
blob
|
history
diff --git
a/usr.sbin/bgpd/printconf.c
b/usr.sbin/bgpd/printconf.c
index
11cd206
..
a395d17
100644
(file)
--- a/
usr.sbin/bgpd/printconf.c
+++ b/
usr.sbin/bgpd/printconf.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: printconf.c,v 1.15
7 2022/07/28 13:11:50 deraadt
Exp $ */
+/* $OpenBSD: printconf.c,v 1.15
8 2022/08/17 09:15:06 claudio
Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@
-782,6
+782,8
@@
print_addpath_mode(enum addpath_mode mode)
return "as-wide-best";
case ADDPATH_EVAL_ALL:
return "all";
+ default:
+ return "???";
}
}