mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-06-15 12:55:21 +00:00
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 <sharpd@nvidia.com>
This commit is contained in:
parent
c7384cf86a
commit
0a822f99bf
@ -159,10 +159,6 @@ struct vrf *vrf_get(vrf_id_t vrf_id, const char *name)
|
|||||||
struct vrf *vrf = NULL;
|
struct vrf *vrf = NULL;
|
||||||
int new = 0;
|
int new = 0;
|
||||||
|
|
||||||
if (debug_vrf)
|
|
||||||
zlog_debug("VRF_GET: %s(%u)", name == NULL ? "(NULL)" : name,
|
|
||||||
vrf_id);
|
|
||||||
|
|
||||||
/* Nothing to see, move along here */
|
/* Nothing to see, move along here */
|
||||||
if (!name && vrf_id == VRF_UNKNOWN)
|
if (!name && vrf_id == VRF_UNKNOWN)
|
||||||
return NULL;
|
return NULL;
|
||||||
|
Loading…
Reference in New Issue
Block a user