ppp: propagate master peerdns setting to dynamic slave interface
[openwrt/openwrt.git] / package / network / services / ppp / files / lib / netifd / ppp6-up
index 07b6a43..8ad0322 100755 (executable)
@@ -23,6 +23,7 @@ if [ -n "$AUTOIPV6" ]; then
        json_add_string proto "dhcpv6"
        [ -n "$EXTENDPREFIX" ] && json_add_string extendprefix 1
        [ -n "$IP6TABLE" ] && json_add_string ip6table $IP6TABLE
+       [ -n "$PEERDNS" ] && json_add_boolean peerdns $PEERDNS
        json_close_object
        ubus call network add_dynamic "$(json_dump)"
 fi