From d80c63081165d2088a8015b0b9933fc8af61b2da Mon Sep 17 00:00:00 2001 From: Stig Thormodsrud Date: Thu, 1 Nov 2007 10:51:23 -0700 Subject: Disable rlsnmpstats until we get iptables added. --- scripts/snmp/vyatta-snmp.pl | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'scripts/snmp') 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 { -- cgit v1.2.3