Changeset 8169
- Timestamp:
- 01/09/12 06:48:27 (17 months ago)
- Location:
- luci/trunk/applications/luci-firewall/luasrc/model/cbi/firewall
- Files:
-
- 2 modified
-
rule-details.lua (modified) (2 diffs)
-
zone-details.lua (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
luci/trunk/applications/luci-firewall/luasrc/model/cbi/firewall/rule-details.lua
r8117 r8169 283 283 284 284 o = s:option(Value, "src_port", translate("Source port")) 285 o.datatype = "list(neg ,portrange)"285 o.datatype = "list(neg(portrange))" 286 286 o.placeholder = translate("any") 287 287 … … 300 300 301 301 o = s:option(Value, "dest_port", translate("Destination port")) 302 o.datatype = "list(neg ,portrange)"302 o.datatype = "list(neg(portrange))" 303 303 o.placeholder = translate("any") 304 304 -
luci/trunk/applications/luci-firewall/luasrc/model/cbi/firewall/zone-details.lua
r8154 r8169 138 138 139 139 msrc.optional = true 140 msrc.datatype = "list(neg ,network)"140 msrc.datatype = "list(neg(or(uciname,hostname,ip4addr)))" 141 141 msrc.placeholder = "0.0.0.0/0" 142 142 msrc:depends("family", "") … … 147 147 148 148 mdest.optional = true 149 mdest.datatype = "list(neg ,network)"149 mdest.datatype = "list(neg(or(uciname,hostname,ip4addr)))" 150 150 mdest.placeholder = "0.0.0.0/0" 151 151 mdest:depends("family", "")
