summaryrefslogtreecommitdiff
path: root/ripd/rip_snmp.c
diff options
context:
space:
mode:
Diffstat (limited to 'ripd/rip_snmp.c')
-rw-r--r--ripd/rip_snmp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ripd/rip_snmp.c b/ripd/rip_snmp.c
index 4b7d1b4c50..c28b9379cc 100644
--- a/ripd/rip_snmp.c
+++ b/ripd/rip_snmp.c
@@ -81,10 +81,10 @@
SNMP_LOCAL_VARIABLES
/* RIP-MIB instances. */
-oid rip_oid [] = { RIPV2MIB };
+static oid rip_oid [] = { RIPV2MIB };
/* Interface cache table sorted by interface's address. */
-struct route_table *rip_ifaddr_table;
+static struct route_table *rip_ifaddr_table;
/* Hook functions. */
static u_char *rip2Globals (struct variable *, oid [], size_t *,
@@ -96,7 +96,7 @@ static u_char *rip2IfConfAddress (struct variable *, oid [], size_t *,
static u_char *rip2PeerTable (struct variable *, oid [], size_t *,
int, size_t *, WriteMethod **);
-struct variable rip_variables[] =
+static struct variable rip_variables[] =
{
/* RIP Global Counters. */
{RIP2GLOBALROUTECHANGES, COUNTER, RONLY, rip2Globals,