artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
67a0df4
)
Introduce msgtypenames to print bgp msg types (which will be used by bgpctl)
author
claudio
<claudio@openbsd.org>
Sat, 24 Oct 2015 08:06:45 +0000
(08:06 +0000)
committer
claudio
<claudio@openbsd.org>
Sat, 24 Oct 2015 08:06:45 +0000
(08:06 +0000)
usr.sbin/bgpd/log.h
patch
|
blob
|
history
diff --git
a/usr.sbin/bgpd/log.h
b/usr.sbin/bgpd/log.h
index
e70c98d
..
5b86548
100644
(file)
--- a/
usr.sbin/bgpd/log.h
+++ b/
usr.sbin/bgpd/log.h
@@
-1,4
+1,4
@@
-/* $OpenBSD: log.h,v 1.1
6 2015/10/11 19:25:06 phessler
Exp $ */
+/* $OpenBSD: log.h,v 1.1
7 2015/10/24 08:06:45 claudio
Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@
-26,6
+26,15
@@
static const char * const statenames[] = {
"Established"
};
+static const char * const msgtypenames[] = {
+ "NONE",
+ "OPEN",
+ "UPDATE",
+ "NOTIFICATION",
+ "KEEPALIVE",
+ "RREFRESH"
+};
+
static const char * const eventnames[] = {
"None",
"Start",