diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2016-12-05 17:53:49 -0500 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2016-12-21 20:26:18 -0500 |
| commit | eeedae06ee5c13d225b3fbf2f01bf410846ead2f (patch) | |
| tree | fa7d7fdbbfc6cf0eca4053e3d6c11b3cef1f6029 | |
| parent | 3197cb1eb54ecfc48044d3f68a1c027a0dc53607 (diff) | |
pimd: Cleanup debugs for pim_upstream_sg_running
In the normal case when we have debugs turned on and the
stream is not running, only display one line of output
instead of 2.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
| -rw-r--r-- | pimd/pim_upstream.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/pimd/pim_upstream.c b/pimd/pim_upstream.c index 2daa91080a..90adf60615 100644 --- a/pimd/pim_upstream.c +++ b/pimd/pim_upstream.c @@ -1447,9 +1447,11 @@ pim_upstream_sg_running (void *arg) { if (PIM_DEBUG_TRACE) { - zlog_debug ("%s: %s old packet count is equal or lastused is greater than 30", - __PRETTY_FUNCTION__, up->sg_str); - zlog_debug ("%s: %ld %ld %lld", __PRETTY_FUNCTION__, up->channel_oil->cc.oldpktcnt, up->channel_oil->cc.pktcnt, up->channel_oil->cc.lastused/100); + zlog_debug ("%s: %s old packet count is equal or lastused is greater than 30, (%ld,%ld,%lld)", + __PRETTY_FUNCTION__, up->sg_str, + up->channel_oil->cc.oldpktcnt, + up->channel_oil->cc.pktcnt, + up->channel_oil->cc.lastused/100); } return; } |
