summaryrefslogtreecommitdiff
path: root/lib/plist.c
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2017-05-08 03:06:07 +0200
committerQuentin Young <qlyoung@users.noreply.github.com>2017-05-18 14:07:28 -0400
commitb85120bcb3af24cc35b97cf1fe0a96e54f3cbb6e (patch)
treed2805da49f11ef7e1c38624a0181328353479ad8 /lib/plist.c
parent4d2d73c281b64d7e83a46f7e698a6e8b15f43615 (diff)
lib: detangle protocol name/instance from logging
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'lib/plist.c')
-rw-r--r--lib/plist.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/plist.c b/lib/plist.c
index 8091429e31..d9bdeab6b6 100644
--- a/lib/plist.c
+++ b/lib/plist.c
@@ -29,6 +29,7 @@
#include "log.h"
#include "routemap.h"
#include "lib/json.h"
+#include "libfrr.h"
#include "plist_int.h"
@@ -1174,7 +1175,7 @@ vty_show_prefix_entry (struct vty *vty, afi_t afi, struct prefix_list *plist,
struct prefix_list_entry *pentry;
/* Print the name of the protocol */
- vty_out(vty, "%s: ", zlog_protoname());
+ vty_out(vty, "%s: ", frr_protoname);
if (dtype == normal_display)
{