luci-base: do not assume a fixed host address in delegated prefix (#1484)
luci-base: do not assume a fixed host address in delegated prefix (#1484)

OpenWrt/LEDE introduced the "local-address" field a while back to expose the
effective local host address of the delegated prefix, so use that information
instead of assuming `[prefix]:1`.

Fixes #1484.

Signed-off-by: Jo-Philipp Wich <bd73d35759d75cc215150d1bbc94f1b1078bee01@mein.io>

nmav/luci,openwrt-es/openwrt-luci,remakeelectric/luci,remakeelectric/luci,chris5560/openwrt-luci,kuoruan/lede-luci,openwrt-es/openwrt-luci,nmav/luci,kuoruan/lede-luci,hnyman/luci,wongsyrone/luci-1,Noltari/luci,Noltari/luci,nmav/luci,openwrt/luci,chris5560/openwrt-luci,981213/luci-1,Noltari/luci,kuoruan/luci,openwrt/luci,tobiaswaldvogel/luci,openwrt-es/openwrt-luci,artynet/luci,openwrt/luci,kuoruan/lede-luci,openwrt/luci,nmav/luci,hnyman/luci,hnyman/luci,lbthomsen/openwrt-luci,chris5560/openwrt-luci,nmav/luci,kuoruan/lede-luci,wongsyrone/luci-1,Noltari/luci,kuoruan/luci,tobiaswaldvogel/luci,rogerpueyo/luci,rogerpueyo/luci,kuoruan/luci,981213/luci-1,artynet/luci,rogerpueyo/luci,nmav/luci,nmav/luci,kuoruan/lede-luci,openwrt/luci,nmav/luci,kuoruan/lede-luci,nmav/luci,remakeelectric/luci,lbthomsen/openwrt-luci,chris5560/openwrt-luci,tobiaswaldvogel/luci,kuoruan/lede-luci,lbthomsen/openwrt-luci,tobiaswaldvogel/luci,kuoruan/luci,artynet/luci,Noltari/luci,openwrt-es/openwrt-luci,openwrt-es/openwrt-luci,Noltari/luci,openwrt-es/openwrt-luci,kuoruan/luci,wongsyrone/luci-1,openwrt/luci,hnyman/luci,rogerpueyo/luci,tobiaswaldvogel/luci,wongsyrone/luci-1,lbthomsen/openwrt-luci,chris5560/openwrt-luci,wongsyrone/luci-1,chris5560/openwrt-luci,rogerpueyo/luci,chris5560/openwrt-luci,hnyman/luci,artynet/luci,kuoruan/lede-luci,artynet/luci,wongsyrone/luci-1,artynet/luci,lbthomsen/openwrt-luci,remakeelectric/luci,rogerpueyo/luci,wongsyrone/luci-1,hnyman/luci,981213/luci-1,remakeelectric/luci,Noltari/luci,chris5560/openwrt-luci,lbthomsen/openwrt-luci,openwrt-es/openwrt-luci,lbthomsen/openwrt-luci,981213/luci-1,remakeelectric/luci,openwrt/luci,981213/luci-1,artynet/luci,tobiaswaldvogel/luci,kuoruan/luci,kuoruan/luci,artynet/luci,981213/luci-1,artynet/luci,kuoruan/luci,rogerpueyo/luci,tobiaswaldvogel/luci,rogerpueyo/luci,openwrt/luci,tobiaswaldvogel/luci,wongsyrone/luci-1,remakeelectric/luci,hnyman/luci,remakeelectric/luci,lbthomsen/openwrt-luci,openwrt-es/openwrt-luci,981213/luci-1,Noltari/luci,Noltari/luci,hnyman/luci