diff options
author | 2015-10-24 08:06:45 +0000 | |
---|---|---|
committer | 2015-10-24 08:06:45 +0000 | |
commit | 258905caafadcd6361baaafc4df143d38d576422 (patch) | |
tree | b8c5b82b2274b79eb534565174ef433b3c977ffe | |
parent | In all other cases of rde_filter_match() we ensure that asp is valid so (diff) | |
download | wireguard-openbsd-258905caafadcd6361baaafc4df143d38d576422.tar.xz wireguard-openbsd-258905caafadcd6361baaafc4df143d38d576422.zip |
Introduce msgtypenames to print bgp msg types (which will be used by bgpctl)
-rw-r--r-- | usr.sbin/bgpd/log.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/usr.sbin/bgpd/log.h b/usr.sbin/bgpd/log.h index e70c98d204f..5b86548e8b5 100644 --- a/usr.sbin/bgpd/log.h +++ b/usr.sbin/bgpd/log.h @@ -1,4 +1,4 @@ -/* $OpenBSD: log.h,v 1.16 2015/10/11 19:25:06 phessler Exp $ */ +/* $OpenBSD: log.h,v 1.17 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", |