From 56810c62f91d3f11e23b2836bb4d14db6ec8ce25 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sat, 16 Oct 2021 19:06:13 +0200 Subject: xml: l2tp: T3724: add constraint regex for host-name It's the same regex as used for "set system host-name" to not allow too much garbage here... --- interface-definitions/vpn_l2tp.xml.in | 3 +++ 1 file changed, 3 insertions(+) (limited to 'interface-definitions') diff --git a/interface-definitions/vpn_l2tp.xml.in b/interface-definitions/vpn_l2tp.xml.in index 6cb0d4544..6a88756a7 100644 --- a/interface-definitions/vpn_l2tp.xml.in +++ b/interface-definitions/vpn_l2tp.xml.in @@ -37,6 +37,9 @@ Sent to the client (LAC) in the Host-Name attribute + + [A-Za-z0-9][-.A-Za-z0-9]*[A-Za-z0-9] + -- cgit v1.2.3