diff options
Diffstat (limited to 'interface-definitions')
-rw-r--r-- | interface-definitions/include/accel-ppp/ppp-options-ipv6-interface-id.xml.i | 8 | ||||
-rw-r--r-- | interface-definitions/vpn-l2tp.xml.in | 1 |
2 files changed, 8 insertions, 1 deletions
diff --git a/interface-definitions/include/accel-ppp/ppp-options-ipv6-interface-id.xml.i b/interface-definitions/include/accel-ppp/ppp-options-ipv6-interface-id.xml.i index 9f5710fe4..265f7f97c 100644 --- a/interface-definitions/include/accel-ppp/ppp-options-ipv6-interface-id.xml.i +++ b/interface-definitions/include/accel-ppp/ppp-options-ipv6-interface-id.xml.i @@ -13,6 +13,9 @@ <format>x:x:x:x</format> <description>specify interface identifier for IPv6</description> </valueHelp> + <constraint> + <regex>(random|((\d+){1,4}:){3}(\d+){1,4})</regex> + </constraint> </properties> </leafNode> <leafNode name="ipv6-peer-intf-id"> @@ -37,12 +40,15 @@ <format>calling-sid</format> <description>Calculate interface identifier from calling-station-id</description> </valueHelp> + <constraint> + <regex>(random|calling-sid|ipv4|((\d+){1,4}:){3}(\d+){1,4})</regex> + </constraint> </properties> </leafNode> <leafNode name="ipv6-accept-peer-intf-id"> <properties> <help>Accept peer interface identifier</help> - <valueless /> + <valueless/> </properties> </leafNode> <!-- include end --> diff --git a/interface-definitions/vpn-l2tp.xml.in b/interface-definitions/vpn-l2tp.xml.in index 06ca4ece5..86aeb324e 100644 --- a/interface-definitions/vpn-l2tp.xml.in +++ b/interface-definitions/vpn-l2tp.xml.in @@ -251,6 +251,7 @@ <children> #include <include/accel-ppp/lcp-echo-interval-failure.xml.i> #include <include/accel-ppp/ppp-options-ipv6.xml.i> + #include <include/accel-ppp/ppp-options-ipv6-interface-id.xml.i> </children> </node> </children> |