summaryrefslogtreecommitdiffstats
path: root/lib/plist.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/plist.c')
-rw-r--r--lib/plist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/plist.c b/lib/plist.c
index 10d5e31c..b01c48f6 100644
--- a/lib/plist.c
+++ b/lib/plist.c
@@ -1378,7 +1378,7 @@ vty_show_prefix_entry (struct vty *vty, struct prefix_list *plist,
{
/* Print the name of the protocol */
if (zlog_default)
- vty_out (vty, "%s: ", zlog_proto_names[zlog_default->protocol]);
+ vty_out (vty, "%s: ", zlog_get_proto_name(NULL));
if (dtype == normal_display)
{