Explorar o código

gluon-client-bridge: add next-node IPv6 address as deprecated

We always want to prefer the unique node address for outgoing traffic. Note
that this doesn't have an effect with batman-adv, as usually br-client will
be the outgoing interface, so the unique address would be chosen anyways.
Matthias Schiffer %!s(int64=7) %!d(string=hai) anos
pai
achega
f0b919e89c

+ 1 - 0
package/gluon-client-bridge/luasrc/lib/gluon/upgrade/310-gluon-client-bridge-local-node

@@ -33,6 +33,7 @@ uci:section('network', 'interface', 'local_node', {
 	proto = 'static',
 	ipaddr = ip4,
 	ip6addr = ip6,
+	ip6deprecated = true,
 })
 
 uci:save('network')