summaryrefslogtreecommitdiffstats
path: root/vrrpd
diff options
context:
space:
mode:
Diffstat (limited to 'vrrpd')
-rw-r--r--vrrpd/vrrp_debug.h14
-rw-r--r--vrrpd/vrrp_zebra.c2
2 files changed, 8 insertions, 8 deletions
diff --git a/vrrpd/vrrp_debug.h b/vrrpd/vrrp_debug.h
index 20f993095..459d4d01a 100644
--- a/vrrpd/vrrp_debug.h
+++ b/vrrpd/vrrp_debug.h
@@ -25,13 +25,13 @@
#include "lib/debug.h"
/* VRRP debugging records */
-struct debug vrrp_dbg_arp;
-struct debug vrrp_dbg_auto;
-struct debug vrrp_dbg_ndisc;
-struct debug vrrp_dbg_pkt;
-struct debug vrrp_dbg_proto;
-struct debug vrrp_dbg_sock;
-struct debug vrrp_dbg_zebra;
+extern struct debug vrrp_dbg_arp;
+extern struct debug vrrp_dbg_auto;
+extern struct debug vrrp_dbg_ndisc;
+extern struct debug vrrp_dbg_pkt;
+extern struct debug vrrp_dbg_proto;
+extern struct debug vrrp_dbg_sock;
+extern struct debug vrrp_dbg_zebra;
/*
* Initialize VRRP debugging.
diff --git a/vrrpd/vrrp_zebra.c b/vrrpd/vrrp_zebra.c
index 000672a08..a578921df 100644
--- a/vrrpd/vrrp_zebra.c
+++ b/vrrpd/vrrp_zebra.c
@@ -204,5 +204,5 @@ void vrrp_zebra_init(void)
zclient_init(zclient, ZEBRA_ROUTE_VRRP, 0, &vrrp_privs);
- zlog_notice("%s: zclient socket initialized", __PRETTY_FUNCTION__);
+ zlog_notice("%s: zclient socket initialized", __func__);
}