diff options
author | Balaji.G <balajig81@gmail.com> | 2014-10-08 01:11:31 -0300 |
---|---|---|
committer | David Lamparter <equinox@opensourcerouting.org> | 2015-02-04 06:08:02 +0100 |
commit | ed14fa00758a156b108854bb35bc5077654f080d (patch) | |
tree | cf73290d653593d9891e1f7531ee696a7828dcae /pimd/pim_hello.c | |
parent | 21d1e26dcb4dc290fd0fe05618cbc96c67f85ffe (diff) | |
download | quagga-ed14fa00758a156b108854bb35bc5077654f080d.tar.bz2 quagga-ed14fa00758a156b108854bb35bc5077654f080d.tar.xz |
pimd: Addition of Hello & Join-Prune message debug commands
Separate "debug pim packets hello and Join-Prune" added to enable hello
and Join-Prune debugs specifically
Diffstat (limited to 'pimd/pim_hello.c')
-rw-r--r-- | pimd/pim_hello.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pimd/pim_hello.c b/pimd/pim_hello.c index 94e7c945..12857831 100644 --- a/pimd/pim_hello.c +++ b/pimd/pim_hello.c @@ -204,7 +204,7 @@ int pim_hello_recv(struct interface *ifp, FREE_ADDR_LIST_THEN_RETURN(-2); } - if (PIM_DEBUG_PIM_TRACE) { + if (PIM_DEBUG_PIM_TRACE || PIM_DEBUG_PIM_HELLO) { char src_str[100]; pim_inet4_dump("<src?>", src_addr, src_str, sizeof(src_str)); zlog_debug("%s: parse left_size=%d: PIM hello TLV type=%d length=%d from %s on %s", @@ -262,7 +262,7 @@ int pim_hello_recv(struct interface *ifp, } break; case PIM_MSG_OPTION_TYPE_DM_STATE_REFRESH: - if (PIM_DEBUG_PIM_TRACE) { + if (PIM_DEBUG_PIM_TRACE || PIM_DEBUG_PIM_HELLO) { char src_str[100]; pim_inet4_dump("<src?>", src_addr, src_str, sizeof(src_str)); zlog_debug("%s: ignoring PIM hello dense-mode state refresh TLV option type=%d length=%d from %s on interface %s", |