diff options
author | Jouke Witteveen <j.witteveen@gmail.com> | 2012-09-15 15:56:04 +0200 |
---|---|---|
committer | Jouke Witteveen <j.witteveen@gmail.com> | 2012-09-15 16:08:08 +0200 |
commit | 5e1acbdb00f38363d05845c9393d7c789fe9f598 (patch) | |
tree | e6b326b051cf270a68ed3470d753a91159597ed4 /src/connections | |
parent | f98469bcd24b8f4aa8a65d5728fe737b132ae310 (diff) | |
download | netctl-5e1acbdb00f38363d05845c9393d7c789fe9f598.tar.gz netctl-5e1acbdb00f38363d05845c9393d7c789fe9f598.tar.xz |
IPv6 support for PPPoE connections (FS#31380)
This fixes netcfg's share of FS#31380.
Proposed by Gala Dragos.
Diffstat (limited to 'src/connections')
-rw-r--r-- | src/connections/pppoe | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/connections/pppoe b/src/connections/pppoe index 65a162d..17fe42d 100644 --- a/src/connections/pppoe +++ b/src/connections/pppoe @@ -43,6 +43,7 @@ pppoe_up() { [[ -n ${PPPOE_AC} ]] && echo "rp_pppoe_ac $(_quotestring "${PPPOE_AC}")" >> "${cfg}" [[ -n ${PPPOE_SESSION} ]] && echo "rp_pppoe_sess $(_quotestring "${PPPOE_SESSION}")" >> "${cfg}" [[ -n ${PPPOE_MAC} ]] && echo "pppoe-mac $(_quotestring "${PPPOE_MAC}")" >> "${cfg}" + [[ ${PPPOE_IP6} == yes ]] && echo "+ipv6" >> "${cfg}" /sbin/ip link set dev "${INTERFACE}" up /usr/sbin/pppd file "${cfg}" |