[base-files/network.sh] network_get_ipaddr6() display private IP6 if global IP6 exists

Inside ddns-scripts, the functions network_get_ipaddr/network_get_ipaddr6 are used for a long time to get local IP.
In the last time I get more and more help requests that on pppoe connections network_get_ipaddr6 is returning private IP6 address (f8xx) in stead of the global IP6 (2xxx). The problem is currently only reported on pppoe.
Is this a bug or a wanted feature ?

1 Like