Changeset 7159

Show
Ignore:
Timestamp:
06/17/11 01:28:52 (2 years ago)
Author:
jow
Message:

applications/luci-firewall: relax masq_{src,dest} validation to allow for interface names

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • luci/trunk/applications/luci-firewall/luasrc/model/cbi/luci_fw/zone.lua

    r6983 r7159  
    130130 
    131131msrc.optional = true 
    132 msrc.datatype = "neg_ip4addr" 
     132msrc.datatype = "host" -- XXX: ipaddr & uciname 
    133133msrc.placeholder = "0.0.0.0/0" 
    134134msrc:depends("family", "") 
     
    139139 
    140140mdest.optional = true 
    141 mdest.datatype = "neg_ip4addr" 
     141mdest.datatype = "host" -- XXX: ipaddr & uciname 
    142142mdest.placeholder = "0.0.0.0/0" 
    143143mdest:depends("family", "")