From: Donald Sharp Date: Fri, 18 Sep 2020 11:14:55 +0000 (-0400) Subject: lib: Remove debug associated with vrf_get X-Git-Tag: base_7.6~546^2 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=refs%2Fpull%2F7128%2Fhead;p=mirror%2Ffrr.git lib: Remove debug associated with vrf_get The vrf_get function is called throughout the code base so much so that when you turn on vrf debugging it eclipses everything else to a degree that is completely unreasonable. Signed-off-by: Donald Sharp --- diff --git a/lib/vrf.c b/lib/vrf.c index 5755cc75f9..6e4c983c66 100644 --- a/lib/vrf.c +++ b/lib/vrf.c @@ -159,10 +159,6 @@ struct vrf *vrf_get(vrf_id_t vrf_id, const char *name) struct vrf *vrf = NULL; int new = 0; - if (debug_vrf) - zlog_debug("VRF_GET: %s(%u)", name == NULL ? "(NULL)" : name, - vrf_id); - /* Nothing to see, move along here */ if (!name && vrf_id == VRF_UNKNOWN) return NULL;