From: claudio Date: Sat, 24 Oct 2015 08:06:45 +0000 (+0000) Subject: Introduce msgtypenames to print bgp msg types (which will be used by bgpctl) X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=258905caafadcd6361baaafc4df143d38d576422;p=openbsd Introduce msgtypenames to print bgp msg types (which will be used by bgpctl) --- 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 @@ -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",