diff options
| author | Ulrich Weber <ulrich.weber@riverbed.com> | 2017-02-10 14:28:09 +0100 |
|---|---|---|
| committer | Jo-Philipp Wich <jo@mein.io> | 2017-03-01 20:37:36 +0100 |
| commit | 3983b4ad0fb6e9f6a62a89711cc87bd2bc06f35b (patch) | |
| tree | 2d367d45fa2fdf6551e09d274f1779a9d6f73189 /package/network/services/ppp/files/lib | |
| parent | 352f92fe0820468f5a9a7a9b159ea1d38aa9444c (diff) | |
| download | mtk-20170518-3983b4ad0fb6e9f6a62a89711cc87bd2bc06f35b.zip mtk-20170518-3983b4ad0fb6e9f6a62a89711cc87bd2bc06f35b.tar.gz mtk-20170518-3983b4ad0fb6e9f6a62a89711cc87bd2bc06f35b.tar.bz2 | |
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 <ulrich.weber@riverbed.com>
Diffstat (limited to 'package/network/services/ppp/files/lib')
| -rwxr-xr-x | package/network/services/ppp/files/lib/netifd/ppp6-up | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/package/network/services/ppp/files/lib/netifd/ppp6-up b/package/network/services/ppp/files/lib/netifd/ppp6-up index 87ca63c..07b6a43 100755 --- 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 |
