X-Git-Url: https://git.archive.openwrt.org/?a=blobdiff_plain;f=luci2%2Fhtdocs%2Fluci2%2Fproto%2F6to4.js;fp=luci2%2Fhtdocs%2Fluci2%2Fproto%2F6to4.js;h=0fa358715c341496f56f086a2ebe0ab8c3e196ed;hb=34d2a62f8607c0697a21565b280b9c66ebd9cc59;hp=4ec81b068f88170445c5e9e2c44f35eb35d6f236;hpb=e28f8f6a5a654a86dc6840f8bb1b16b888e24430;p=project%2Fluci2%2Fui.git diff --git a/luci2/htdocs/luci2/proto/6to4.js b/luci2/htdocs/luci2/proto/6to4.js index 4ec81b0..0fa3587 100644 --- a/luci2/htdocs/luci2/proto/6to4.js +++ b/luci2/htdocs/luci2/proto/6to4.js @@ -1,4 +1,4 @@ -L.NetworkModel.Protocol.extend({ +L.network.Protocol.extend({ protocol: '6to4', description: L.tr('IPv6-over-IPv4 (6to4)'), tunnel: true, @@ -12,7 +12,7 @@ L.NetworkModel.Protocol.extend({ datatype: 'ip4addr', optional: true }).load = function() { - var wan = L.NetworkModel.findWAN(); + var wan = L.network.findWAN(); if (wan) this.options.placeholder = wan.getIPv4Addrs()[0]; };