diff options
| author | David Lamparter <equinox@opensourcerouting.org> | 2017-05-08 03:06:07 +0200 |
|---|---|---|
| committer | Quentin Young <qlyoung@users.noreply.github.com> | 2017-05-18 14:07:28 -0400 |
| commit | b85120bcb3af24cc35b97cf1fe0a96e54f3cbb6e (patch) | |
| tree | d2805da49f11ef7e1c38624a0181328353479ad8 /lib/vty.c | |
| parent | 4d2d73c281b64d7e83a46f7e698a6e8b15f43615 (diff) | |
lib: detangle protocol name/instance from logging
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'lib/vty.c')
| -rw-r--r-- | lib/vty.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -34,6 +34,7 @@ #include "vty.h" #include "privs.h" #include "network.h" +#include "libfrr.h" #include <arpa/telnet.h> #include <termios.h> @@ -456,7 +457,7 @@ vty_command (struct vty *vty, char *buf) ret = cmd_execute_command (vline, vty, NULL, 0); /* Get the name of the protocol if any */ - protocolname = zlog_protoname(); + protocolname = frr_protoname; #ifdef CONSUMED_TIME_CHECK GETRUSAGE(&after); |
