summaryrefslogtreecommitdiffstats
path: root/ripngd
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2020-09-21 13:55:36 +0200
committerDonald Sharp <sharpd@nvidia.com>2020-09-21 13:55:36 +0200
commit13c5f95ed86513829161fce19226d389a7ed31b0 (patch)
treebe82e9982effaa5f502dc365fbae5d88fbe73506 /ripngd
parentMerge pull request #7036 from ton31337/fix/do_not_allow_setting_maximum-prefi... (diff)
downloadfrr-13c5f95ed86513829161fce19226d389a7ed31b0.tar.xz
frr-13c5f95ed86513829161fce19226d389a7ed31b0.zip
ripd, ripngd: info -> debug
There are a couple info messages in rip/ripng that really should be debugs. Modify code to be so. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'ripngd')
-rw-r--r--ripngd/ripng_interface.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/ripngd/ripng_interface.c b/ripngd/ripng_interface.c
index e8c907227..03c93668b 100644
--- a/ripngd/ripng_interface.c
+++ b/ripngd/ripng_interface.c
@@ -274,10 +274,11 @@ static int ripng_ifp_destroy(struct interface *ifp)
ripng_if_down(ifp);
}
- zlog_info(
- "interface delete %s vrf %s(%u) index %d flags %#llx metric %d mtu %d",
- ifp->name, VRF_LOGNAME(vrf), ifp->vrf_id, ifp->ifindex,
- (unsigned long long)ifp->flags, ifp->metric, ifp->mtu6);
+ if (IS_RIPNG_DEBUG_ZEBRA)
+ zlog_debug(
+ "interface delete %s vrf %s(%u) index %d flags %#llx metric %d mtu %d",
+ ifp->name, VRF_LOGNAME(vrf), ifp->vrf_id, ifp->ifindex,
+ (unsigned long long)ifp->flags, ifp->metric, ifp->mtu6);
return 0;
}