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>
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);