summaryrefslogtreecommitdiffstats
path: root/pimd/pim_oil.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2022-01-06 13:30:09 +0100
committerDonald Sharp <sharpd@nvidia.com>2022-01-08 13:11:07 +0100
commitdd4a4b569752141c1df9d6824058234be03af5d7 (patch)
tree886bf6b1af9d3455fb3f6cc8b360d34f082e6ebd /pimd/pim_oil.c
parentbfdd: Clean up some white space snafu's (diff)
downloadfrr-dd4a4b569752141c1df9d6824058234be03af5d7.tar.xz
frr-dd4a4b569752141c1df9d6824058234be03af5d7.zip
pimd: Cleanup weird indentation
The zlog_warn used to be bounded by a debug guard but the debug guard was removed but the code was never fixed up to remove the open and close paranthesis. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'pimd/pim_oil.c')
-rw-r--r--pimd/pim_oil.c32
1 files changed, 15 insertions, 17 deletions
diff --git a/pimd/pim_oil.c b/pimd/pim_oil.c
index a3ca44bb5..c6fd6c490 100644
--- a/pimd/pim_oil.c
+++ b/pimd/pim_oil.c
@@ -490,23 +490,21 @@ int pim_channel_add_oif(struct channel_oil *channel_oil, struct interface *oif,
/* Check the OIF really exists before returning, and only log
warning otherwise */
if (channel_oil->oil.mfcc_ttls[pim_ifp->mroute_vif_index] < 1) {
- {
- char group_str[INET_ADDRSTRLEN];
- char source_str[INET_ADDRSTRLEN];
- pim_inet4_dump("<group?>",
- channel_oil->oil.mfcc_mcastgrp,
- group_str, sizeof(group_str));
- pim_inet4_dump("<source?>",
- channel_oil->oil.mfcc_origin,
- source_str, sizeof(source_str));
- zlog_warn(
- "%s %s: new protocol mask %u requested nonexistent OIF %s (vif_index=%d, min_ttl=%d) for channel (S,G)=(%s,%s)",
- __FILE__, __func__, proto_mask,
- oif->name, pim_ifp->mroute_vif_index,
- channel_oil->oil.mfcc_ttls
- [pim_ifp->mroute_vif_index],
- source_str, group_str);
- }
+ char group_str[INET_ADDRSTRLEN];
+ char source_str[INET_ADDRSTRLEN];
+ pim_inet4_dump("<group?>",
+ channel_oil->oil.mfcc_mcastgrp,
+ group_str, sizeof(group_str));
+ pim_inet4_dump("<source?>",
+ channel_oil->oil.mfcc_origin, source_str,
+ sizeof(source_str));
+ zlog_warn(
+ "%s %s: new protocol mask %u requested nonexistent OIF %s (vif_index=%d, min_ttl=%d) for channel (S,G)=(%s,%s)",
+ __FILE__, __func__, proto_mask, oif->name,
+ pim_ifp->mroute_vif_index,
+ channel_oil->oil
+ .mfcc_ttls[pim_ifp->mroute_vif_index],
+ source_str, group_str);
}
if (PIM_DEBUG_MROUTE) {