]> git.proxmox.com Git - mirror_frr.git/commitdiff
nhrpd: Guard a debug that was constantly spewing information
authorDonald Sharp <sharpd@cumulusnetworks.com>
Fri, 2 Jun 2017 00:09:06 +0000 (20:09 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Fri, 2 Jun 2017 00:09:06 +0000 (20:09 -0400)
This debug when nhrpd was just running but not configured
was constantly being sent to the log file.  Filling it
with useless information

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
nhrpd/vici.c

index 244562d547985385d1cac50be6a5f4f95076035b..18faca2d5a67f8e224a485c60a031403ad4db2c2 100644 (file)
@@ -421,7 +421,7 @@ static int vici_reconnect(struct thread *t)
 
        fd = sock_open_unix("/var/run/charon.vici");
        if (fd < 0) {
-               zlog_warn("%s: failure connecting VICI socket: %s",
+               debugf(NHRP_DEBUG_VICI, "%s: failure connecting VICI socket: %s",
                        __PRETTY_FUNCTION__, strerror(errno));
                thread_add_timer(master, vici_reconnect, vici, 2,
                                 &vici->t_reconnect);