ppp: honor ip6table for IPv6 PPP interfaces
[openwrt/openwrt.git] / package / network / services / ppp / files / lib / netifd / ppp6-up
index 87ca63c7518e7affae4f8a53b91f40e66ef87395..07b6a43ca5c4cbe29f905d057cdb585511968d8f 100755 (executable)
@@ -22,6 +22,7 @@ if [ -n "$AUTOIPV6" ]; then
        json_add_string ifname "@$PPP_IPPARAM"
        json_add_string proto "dhcpv6"
        [ -n "$EXTENDPREFIX" ] && json_add_string extendprefix 1
+       [ -n "$IP6TABLE" ] && json_add_string ip6table $IP6TABLE
        json_close_object
        ubus call network add_dynamic "$(json_dump)"
 fi