openwrt / luci

LuCI - OpenWrt Configuration Interface
Apache License 2.0
6.38k stars 2.53k forks source link

luci-app-ddns: bad handling on IPv6 tunnel interfaces #2033

Closed yangfl closed 6 years ago

yangfl commented 6 years ago

On 18.06.0,

  1. You got an IPv6 tunnel interface, say 6to4 or 6in4.
  2. Create a ddns entry, choose "IPv6 address".
  3. And choose "IP address source" to be "network", along with "network" to be your tunnel interface.
  4. Submit. While the changes have been successfully applied, you still get a page back with "interface" as "IP address source" selected.
yangfl commented 6 years ago

Hmm, seems I got a bad config file from 17.01.

    option ip_source 'interface'
...
    option ip_network 'my_v6_tunnel'

Change ip_source to network fixed this.