diff options
author | hasso <hasso> | 2004-10-13 10:33:26 +0000 |
---|---|---|
committer | hasso <hasso> | 2004-10-13 10:33:26 +0000 |
commit | 837f75bf28c6c1b271efab159de2fbdc2dd4d8c8 (patch) | |
tree | 1e58b939ad2449357a5868f254f4ab8e0db13e41 /zebra/zebra_snmp.c | |
parent | 0b06e4d953897350d9050353ddb3e604d13bfaaa (diff) | |
download | quagga-837f75bf28c6c1b271efab159de2fbdc2dd4d8c8.tar.bz2 quagga-837f75bf28c6c1b271efab159de2fbdc2dd4d8c8.tar.xz |
Make initializing smux connection configurable - "smux peer OID" command
Diffstat (limited to 'zebra/zebra_snmp.c')
-rw-r--r-- | zebra/zebra_snmp.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/zebra/zebra_snmp.c b/zebra/zebra_snmp.c index dece89ea..4536026f 100644 --- a/zebra/zebra_snmp.c +++ b/zebra/zebra_snmp.c @@ -40,7 +40,6 @@ #include "zebra/zserv.h" #define IPFWMIB 1,3,6,1,2,1,4,24 -#define ZEBRAOID 1,3,6,1,4,1,3317,1,2,1 /* ipForwardTable */ #define IPFORWARDDEST 1 @@ -87,7 +86,6 @@ extern struct zebra_t zebrad; oid ipfw_oid [] = { IPFWMIB }; -oid zebra_oid [] = { ZEBRAOID }; /* Hook functions. */ u_char * ipFwNumber (); @@ -564,8 +562,7 @@ ipCidrTable (struct variable *v, oid objid[], size_t *objid_len, void zebra_snmp_init () { - smux_init (zebrad.master, zebra_oid, sizeof (zebra_oid) / sizeof (oid)); + smux_init (zebrad.master); REGISTER_MIB("mibII/ipforward", zebra_variables, variable, ipfw_oid); - smux_start (); } #endif /* HAVE_SNMP */ |