Revision: 14884
Author:   adrian.chadd
Date:     Sun Jul 10 01:04:00 2011
Log: disable the peer SNMP entries; since they're keyed on ipv4 addresses.
I'll fix that later.


http://code.google.com/p/lusca-cache/source/detail?r=14884

Modified:
 /playpen/LUSCA_HEAD_ipv6/src/snmp_core.c

=======================================
--- /playpen/LUSCA_HEAD_ipv6/src/snmp_core.c    Fri Jul  8 22:32:28 2011
+++ /playpen/LUSCA_HEAD_ipv6/src/snmp_core.c    Sun Jul 10 01:04:00 2011
@@ -69,8 +69,10 @@
 extern void (*snmplib_debug_hook) (int, char *);
static oid *static_Inst(oid * name, snint * len, mib_tree_entry * current, oid_ParseFn ** Fn); static oid *time_Inst(oid * name, snint * len, mib_tree_entry * current, oid_ParseFn ** Fn);
+#if 0
static oid *peer_Inst(oid * name, snint * len, mib_tree_entry * current, oid_ParseFn ** Fn); static oid *peer_InstIndex(oid * name, snint * len, mib_tree_entry * current, oid_ParseFn ** Fn);
+#endif
 #if 0
static oid *client_Inst(oid * name, snint * len, mib_tree_entry * current, oid_ParseFn ** Fn);
 #endif
@@ -235,6 +237,7 @@

        snmpAddNodeStr("1.3.6.1.4.1.3495.1.5", 1, NULL, NULL);

+#if 0
        snmpAddNodeStr("1.3.6.1.4.1.3495.1.5.1", 1, NULL, NULL);
        snmpAddNodeStr("1.3.6.1.4.1.3495.1.5.1.1", 1, snmp_meshPtblFn, 
peer_Inst);
        snmpAddNodeStr("1.3.6.1.4.1.3495.1.5.1.1", 2, snmp_meshPtblFn, 
peer_Inst);
@@ -267,6 +270,7 @@
snmpAddNodeStr("1.3.6.1.4.1.3495.1.5.1.2", 13, snmp_meshPtblFn, peer_InstIndex); snmpAddNodeStr("1.3.6.1.4.1.3495.1.5.1.2", 14, snmp_meshPtblFn, peer_InstIndex); mib_tree_last = snmpAddNodeStr("1.3.6.1.4.1.3495.1.5.1.2", 15, snmp_meshPtblFn, peer_InstIndex);
+#endif

 #if 0
        snmpAddNodeStr("1.3.6.1.4.1.3495.1.5", 2, NULL, NULL);
@@ -787,6 +791,7 @@
     return (instance);
 }

+#if 0
 static oid *
peer_Inst(oid * name, snint * len, mib_tree_entry * current, oid_ParseFn ** Fn)
 {
@@ -884,6 +889,7 @@
     *Fn = current->parsefunction;
     return (instance);
 }
+#endif

 #if 0
 static oid *

--
You received this message because you are subscribed to the Google Groups 
"lusca-commit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/lusca-commit?hl=en.

Reply via email to