luci-app-polipo: fix Parent proxy address field check 666/head
authorChristian Schoenebeck <christian.schoenebeck@gmail.com>
Mon, 7 Mar 2016 20:06:55 +0000 (21:06 +0100)
committerChristian Schoenebeck <christian.schoenebeck@gmail.com>
Mon, 7 Mar 2016 20:06:55 +0000 (21:06 +0100)
fix Parent proxy address field check https://dev.openwrt.org/ticket/15680

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
applications/luci-app-polipo/luasrc/model/cbi/polipo.lua

index 967a47a..6031c84 100644 (file)
@@ -80,7 +80,7 @@ o = s:taboption("proxy", Value, "parentProxy",
                "will forward the requests."))
 
 o.optional = true
                "will forward the requests."))
 
 o.optional = true
-o.datatype = "ipaddr"
+o.datatype = "hostport"
 
 
 o = s:taboption("proxy", Value, "parentAuthCredentials",
 
 
 o = s:taboption("proxy", Value, "parentAuthCredentials",