X-Git-Url: https://git.archive.openwrt.org/?p=project%2Fluci.git;a=blobdiff_plain;f=applications%2Fluci-firewall%2Fluasrc%2Fmodel%2Fcbi%2Ffirewall%2Frule-details.lua;h=3f5eb35b20179fad6add1e97c25228596f3da20b;hp=0086148c76d772cdc483cde6a18419e822bceff1;hb=a6becaf5b5d12eedb3902e33a61540e757abafde;hpb=35de3b741100f24463e80dcd9458838a88d0d871;ds=sidebyside diff --git a/applications/luci-firewall/luasrc/model/cbi/firewall/rule-details.lua b/applications/luci-firewall/luasrc/model/cbi/firewall/rule-details.lua index 0086148c7..3f5eb35b2 100644 --- a/applications/luci-firewall/luasrc/model/cbi/firewall/rule-details.lua +++ b/applications/luci-firewall/luasrc/model/cbi/firewall/rule-details.lua @@ -106,16 +106,6 @@ elseif rule_type == "redirect" then o.template = "cbi/firewall_zonelist" - o = s:option(DynamicList, "src_mac", translate("Source MAC address")) - o.rmempty = true - o.datatype = "neg(macaddr)" - o.placeholder = translate("any") - - luci.sys.net.mac_hints(function(mac, name) - o:value(mac, "%s (%s)" %{ mac, name }) - end) - - o = s:option(Value, "src_ip", translate("Source IP address")) o.rmempty = true o.datatype = "neg(ipaddr)"