From bf1013e6c4e05ba48e5b35192000123becdf426d Mon Sep 17 00:00:00 2001 From: David Lamparter Date: Tue, 23 Feb 2016 12:38:23 +0100 Subject: lib: simplify protocol/log naming The protocols enum serves no purpose other than adding potential for bugs and making it complicated to add a new protocol... nuke. Signed-off-by: David Lamparter --- lib/command.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/command.c') diff --git a/lib/command.c b/lib/command.c index 10d36370d1..843529b36f 100644 --- a/lib/command.c +++ b/lib/command.c @@ -2214,7 +2214,7 @@ DEFUN (show_logging, vty_out (vty, "%s", VTY_NEWLINE); vty_out (vty, "Protocol name: %s%s", - zlog_proto_names[zl->protocol], VTY_NEWLINE); + zl->protoname, VTY_NEWLINE); vty_out (vty, "Record priority: %s%s", (zl->record_priority ? "enabled" : "disabled"), VTY_NEWLINE); vty_out (vty, "Timestamp precision: %d%s", -- cgit v1.2.3