You can try some kind of workaround:
uci set network.wan_6="interface"
uci set network.wan_6.ifname="@wan"
uci set network.wan_6.proto="dhcpv6"
uci commit network
/etc/init.d/network restart
It can also be a bug if you are building from the master branch:
Iptables uses wrong interface on boot