From d5221d5a419c14456bccba9f6825567839082fb0 Mon Sep 17 00:00:00 2001 From: Ulrich Weber Date: Fri, 10 Feb 2017 14:28:09 +0100 Subject: ppp: honor ip6table for IPv6 PPP interfaces as we do for IPv4 PPP interfaces. When we create the dynamic IPv6 interface we should inherit ip6table from main interface. Signed-off-by: Ulrich Weber --- package/network/services/ppp/files/lib/netifd/ppp6-up | 1 + 1 file changed, 1 insertion(+) (limited to 'package/network/services/ppp/files/lib/netifd/ppp6-up') diff --git a/package/network/services/ppp/files/lib/netifd/ppp6-up b/package/network/services/ppp/files/lib/netifd/ppp6-up index 87ca63c751..07b6a43ca5 100644 --- a/package/network/services/ppp/files/lib/netifd/ppp6-up +++ b/package/network/services/ppp/files/lib/netifd/ppp6-up @@ -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 -- cgit v1.2.3