summaryrefslogtreecommitdiffstats
path: root/sbin/routed/rdisc.c
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/routed/rdisc.c')
-rw-r--r--sbin/routed/rdisc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/routed/rdisc.c b/sbin/routed/rdisc.c
index 8452650..be160a8 100644
--- a/sbin/routed/rdisc.c
+++ b/sbin/routed/rdisc.c
@@ -73,14 +73,14 @@ union ad_u {
int rdisc_sock = -1; /* router-discovery raw socket */
-struct interface *rdisc_sock_mcast; /* current multicast interface */
+static struct interface *rdisc_sock_mcast; /* current multicast interface */
struct timeval rdisc_timer;
int rdisc_ok; /* using solicited route */
#define MAX_ADS 16 /* at least one per interface */
-struct dr { /* accumulated advertisements */
+static struct dr { /* accumulated advertisements */
struct interface *dr_ifp;
naddr dr_gate; /* gateway */
time_t dr_ts; /* when received */
OpenPOWER on IntegriCloud