]> git.puffer.fish Git - mirror/frr.git/commitdiff
pimd: Ensure that (S,G) output is consistent
authorDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 21 Jun 2017 16:26:23 +0000 (12:26 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Mon, 24 Jul 2017 17:51:40 +0000 (13:51 -0400)
Ensure that displayed (S,G) output in logs is
consistent for all debugs.  This will make it
easier to grep for interesting data.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
pimd/pim_nht.c
pimd/pim_zebra.c

index 150820fb85b1d1181c4cf7c0d0c49a055cc73717..70b831cc43e32b517b2637afeaa71aabb66e267c 100644 (file)
@@ -554,7 +554,7 @@ int pim_ecmp_nexthop_search(struct pim_instance *pim,
                                                               grp_str,
                                                               sizeof(grp_str));
                                                zlog_debug(
-                                                       "%s: (%s, %s) current nexthop %s is valid, skipping new path selection",
+                                                       "%s: (%s,%s) current nexthop %s is valid, skipping new path selection",
                                                        __PRETTY_FUNCTION__,
                                                        src_str, grp_str,
                                                        nexthop->interface->name);
@@ -651,7 +651,7 @@ int pim_ecmp_nexthop_search(struct pim_instance *pim,
                                        nexthop->mrib_nexthop_addr.u.prefix4,
                                        buf, sizeof(buf));
                                zlog_debug(
-                                       "%s: (%s, %s) selected nhop interface %s addr %s mod_val %u iter %d ecmp %d",
+                                       "%s: (%s,%s) selected nhop interface %s addr %s mod_val %u iter %d ecmp %d",
                                        __PRETTY_FUNCTION__, buf2, buf3,
                                        ifp->name, buf, mod_val, nh_iter,
                                        qpim_ecmp_enable);
index 7fc7e425342341239b7caccec4da024159125ba9..9fbca9cb217c3707f8b726c877e831135232338e 100644 (file)
@@ -546,7 +546,7 @@ void pim_scan_individual_oil(struct channel_oil *c_oil, int in_vif_index)
                        pim_inet4_dump("<group?>", c_oil->oil.mfcc_mcastgrp,
                                       group_str, sizeof(group_str));
                        zlog_debug(
-                               "%s: channel_oil (%s, %s) upstream info is not present.",
+                               "%s: channel_oil (%s,%s) upstream info is not present.",
                                __PRETTY_FUNCTION__, source_str, group_str);
                }
                input_iface_vif_index = pim_ecmp_fib_lookup_if_vif_index(