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/filter.c | |
| parent | 4d2d73c281b64d7e83a46f7e698a6e8b15f43615 (diff) | |
lib: detangle protocol name/instance from logging
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'lib/filter.c')
| -rw-r--r-- | lib/filter.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/filter.c b/lib/filter.c index 93aac31b4f..01301de4b9 100644 --- a/lib/filter.c +++ b/lib/filter.c @@ -28,6 +28,7 @@ #include "buffer.h" #include "log.h" #include "routemap.h" +#include "libfrr.h" DEFINE_MTYPE_STATIC(LIB, ACCESS_LIST, "Access List") DEFINE_MTYPE_STATIC(LIB, ACCESS_LIST_STR, "Access List Str") @@ -1696,7 +1697,7 @@ filter_show (struct vty *vty, const char *name, afi_t afi) return 0; /* Print the name of the protocol */ - vty_out(vty, "%s:%s", zlog_protoname(), VTY_NEWLINE); + vty_out(vty, "%s:%s", frr_protoname, VTY_NEWLINE); for (access = master->num.head; access; access = access->next) { |
