summaryrefslogtreecommitdiff
path: root/scripts/snmp
diff options
context:
space:
mode:
authorStig Thormodsrud <stig@uffda.(none)>2007-11-01 10:51:23 -0700
committerStig Thormodsrud <stig@uffda.(none)>2007-11-01 10:51:23 -0700
commitd80c63081165d2088a8015b0b9933fc8af61b2da (patch)
tree62dcb1f269086f042f4795e38e1bf8d455e89791 /scripts/snmp
parent0e4fea93eaf510e18b10d0bba288c90002955e81 (diff)
downloadvyatta-cfg-quagga-d80c63081165d2088a8015b0b9933fc8af61b2da.tar.gz
vyatta-cfg-quagga-d80c63081165d2088a8015b0b9933fc8af61b2da.zip
Disable rlsnmpstats until we get iptables added.
Diffstat (limited to 'scripts/snmp')
-rw-r--r--scripts/snmp/vyatta-snmp.pl10
1 files changed, 8 insertions, 2 deletions
diff --git a/scripts/snmp/vyatta-snmp.pl b/scripts/snmp/vyatta-snmp.pl
index 511e1054..7e1f8e63 100644
--- a/scripts/snmp/vyatta-snmp.pl
+++ b/scripts/snmp/vyatta-snmp.pl
@@ -40,8 +40,14 @@ my $snmp_conf = '/etc/snmp/snmpd.conf';
sub snmp_init {
- system("iptables -A INPUT -m rlsnmpstats");
- system("iptables -A OUTPUT -m rlsnmpstats");
+ #
+ # This requires the iptables user module libipt_rlsnmpstats.so.
+ # to get the stats from "show snmp". For now we are disabling
+ # this feature.
+ #
+
+ # system("iptables -A INPUT -m rlsnmpstats");
+ # system("iptables -A OUTPUT -m rlsnmpstats");
}
sub snmp_restart {