From: Jo-Philipp Wich Date: Tue, 20 May 2008 19:21:36 +0000 (+0000) Subject: * ffluci/statistics: fix c'n'p errors in iptables cbi model X-Git-Tag: 0.8.0~1022 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=2cbe2d29338d701b8baaa1cafb39d2f9ffeaeb30;p=oweals%2Fluci.git * ffluci/statistics: fix c'n'p errors in iptables cbi model --- diff --git a/applications/luci-statistics/src/model/cbi/admin_statistics/iptables.lua b/applications/luci-statistics/src/model/cbi/admin_statistics/iptables.lua index 65e045b73..475729589 100644 --- a/applications/luci-statistics/src/model/cbi/admin_statistics/iptables.lua +++ b/applications/luci-statistics/src/model/cbi/admin_statistics/iptables.lua @@ -91,14 +91,12 @@ rule_protocol:value("tcp") rule_protocol:value("udp") rule_protocol:value("icmp") - -- collectd_iptables_match.source rule_source = rule:option( Value, "source", "Quell-IP-Bereich", "Bereich in CIDR Notation" ) rule_source.default = "0.0.0.0/0" rule_source.rmempty = true rule_source.optional = true - -- collectd_iptables_match.destination rule_destination = rule:option( Value, "destination", "Ziel-IP-Bereich", "Bereich in CIDR Notation" ) rule_destination.default = "0.0.0.0/0" @@ -107,19 +105,16 @@ rule_destination.optional = true -- collectd_iptables_match.inputif rule_inputif = rule:option( Value, "inputif", "eingehende Schnittstelle", "z.B. eth0.0" ) -rule_inputif.default = "0.0.0.0/0" rule_inputif.rmempty = true rule_inputif.optional = true -- collectd_iptables_match.outputif rule_outputif = rule:option( Value, "outputif", "ausgehende Schnittstelle", "z.B. eth0.1" ) -rule_outputif.default = "0.0.0.0/0" rule_outputif.rmempty = true rule_outputif.optional = true -- collectd_iptables_match.options rule_options = rule:option( Value, "options", "Optionen", "z.B. reject-with tcp-reset" ) -rule_options.default = "0.0.0.0/0" rule_options.rmempty = true rule_options.optional = true