diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-06-01 20:09:06 -0400 | 
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-06-01 20:09:06 -0400 | 
| commit | 4b872c22a3a4d7a3a96adf2b9313afa79324de02 (patch) | |
| tree | 15a40f245ff9bce0a178209d9a9eb035cebce588 /nhrpd/vici.c | |
| parent | 95c7c2dd3de348f4de93d6772967cddee83a0bb7 (diff) | |
nhrpd: Guard a debug that was constantly spewing information
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>
Diffstat (limited to 'nhrpd/vici.c')
| -rw-r--r-- | nhrpd/vici.c | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/nhrpd/vici.c b/nhrpd/vici.c index 244562d547..18faca2d5a 100644 --- a/nhrpd/vici.c +++ b/nhrpd/vici.c @@ -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);  | 
