diff options
author | Christian Poessinger <christian@poessinger.com> | 2022-04-22 19:57:04 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2022-04-22 21:46:03 +0200 |
commit | 0b466f7a54cfedaf53edec5f3d58676113ece391 (patch) | |
tree | 14bd17ebfc3ac2dbdb17018474b44f26bdad292f /interface-definitions/dhcp-server.xml.in | |
parent | a2ab95ff68b709f7ca31006bdef6607ef4ce961d (diff) | |
download | vyos-1x-0b466f7a54cfedaf53edec5f3d58676113ece391.tar.gz vyos-1x-0b466f7a54cfedaf53edec5f3d58676113ece391.zip |
dhcp: T4388: missing constraint on tftp-server-name option
Diffstat (limited to 'interface-definitions/dhcp-server.xml.in')
-rw-r--r-- | interface-definitions/dhcp-server.xml.in | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/interface-definitions/dhcp-server.xml.in b/interface-definitions/dhcp-server.xml.in index 4ea2d471d..3c2c82a9d 100644 --- a/interface-definitions/dhcp-server.xml.in +++ b/interface-definitions/dhcp-server.xml.in @@ -374,6 +374,18 @@ <leafNode name="tftp-server-name"> <properties> <help>TFTP server name</help> + <valueHelp> + <format>ipv4</format> + <description>TFTP server IPv4 address</description> + </valueHelp> + <valueHelp> + <format>hostname</format> + <description>TFTP server FQDN</description> + </valueHelp> + <constraint> + <validator name="ipv4-address"/> + <validator name="fqdn"/> + </constraint> </properties> </leafNode> <leafNode name="time-offset"> |