From b6d2abba08ef0a1475e890d534d32a477dc97811 Mon Sep 17 00:00:00 2001 From: Viacheslav Date: Tue, 22 Jun 2021 12:16:51 +0000 Subject: sstp-l2tp: T3636: Add ipv6 options --- .../include/accel-ppp/ppp-options-ipv6.xml.i | 30 ++++++++++++++++++++++ interface-definitions/service_pppoe-server.xml.in | 29 +-------------------- interface-definitions/vpn_l2tp.xml.in | 1 + interface-definitions/vpn_sstp.xml.in | 1 + 4 files changed, 33 insertions(+), 28 deletions(-) create mode 100644 interface-definitions/include/accel-ppp/ppp-options-ipv6.xml.i diff --git a/interface-definitions/include/accel-ppp/ppp-options-ipv6.xml.i b/interface-definitions/include/accel-ppp/ppp-options-ipv6.xml.i new file mode 100644 index 000000000..cd40a1f96 --- /dev/null +++ b/interface-definitions/include/accel-ppp/ppp-options-ipv6.xml.i @@ -0,0 +1,30 @@ + + + + IPv6 (IPCP6) negotiation algorithm + + ^(deny|allow|prefer|require)$ + + invalid value + + deny + Do not negotiate IPv6 + + + allow + Negotiate IPv6 only if client requests + + + prefer + Ask client for IPv6 negotiation, do not fail if it rejects + + + require + Require IPv6 negotiation + + + deny allow prefer require + + + + diff --git a/interface-definitions/service_pppoe-server.xml.in b/interface-definitions/service_pppoe-server.xml.in index 9d0f887a9..788683868 100644 --- a/interface-definitions/service_pppoe-server.xml.in +++ b/interface-definitions/service_pppoe-server.xml.in @@ -192,34 +192,7 @@ - - - IPv6 (IPCP6) negotiation algorithm - - ^(deny|allow|prefer|require)$ - - invalid value - - deny - Do not negotiate IPv6 - - - allow - Negotiate IPv6 only if client requests - - - prefer - Ask client for IPv6 negotiation, do not fail if it rejects - - - require - Require IPv6 negotiation - - - deny allow prefer require - - - + #include Fixed or random interface identifier for IPv6 diff --git a/interface-definitions/vpn_l2tp.xml.in b/interface-definitions/vpn_l2tp.xml.in index 5bdebcb05..4fbf3fa44 100644 --- a/interface-definitions/vpn_l2tp.xml.in +++ b/interface-definitions/vpn_l2tp.xml.in @@ -308,6 +308,7 @@ #include + #include diff --git a/interface-definitions/vpn_sstp.xml.in b/interface-definitions/vpn_sstp.xml.in index e4ade844d..c09603028 100644 --- a/interface-definitions/vpn_sstp.xml.in +++ b/interface-definitions/vpn_sstp.xml.in @@ -43,6 +43,7 @@ #include + #include #include #include -- cgit v1.2.3