]> git.proxmox.com Git - mirror_frr.git/commitdiff
pimd: cosmetic change
authoranlan_cs <vic.lan@pica8.com>
Sun, 30 Jan 2022 07:13:39 +0000 (02:13 -0500)
committeranlan_cs <vic.lan@pica8.com>
Mon, 21 Feb 2022 13:33:04 +0000 (21:33 +0800)
Remove one empty line. And correct one word.

Signed-off-by: anlan_cs <vic.lan@pica8.com>
pimd/pim_ifchannel.c
pimd/pim_nht.c

index a613c89b7ece231ab146fb2eb0a4618f4fd1408c..b3573e29e3e6c4931543643ec3188e109a3f03e6 100644 (file)
@@ -269,7 +269,7 @@ void pim_ifchannel_ifjoin_switch(const char *caller, struct pim_ifchannel *ch,
        if (old_state == new_state) {
                if (PIM_DEBUG_PIM_EVENTS) {
                        zlog_debug(
-                               "%s calledby %s: non-transition on state %d (%s)",
+                               "%s called by %s: non-transition on state %d (%s)",
                                __func__, caller, new_state,
                                pim_ifchannel_ifjoin_name(new_state, 0));
                }
index beaa5c802b5d7cc21df207887a89c2affd63115a..2e690d85f6f31775e108bedc5098c6dfe22ac008 100644 (file)
@@ -611,9 +611,8 @@ static int pim_ecmp_nexthop_search(struct pim_instance *pim,
                        pim_addr nhaddr = nh_node->gate.ipv6;
 #endif
                        nbrs[i] = pim_neighbor_find(ifps[i], nhaddr);
-                       if (nbrs[i] || pim_if_connected_to_source(ifps[i],
-
-                                                                 src->u.prefix4))
+                       if (nbrs[i] ||
+                           pim_if_connected_to_source(ifps[i], src->u.prefix4))
                                num_nbrs++;
                }
        }