diff options
author | Christian Poessinger <christian@poessinger.com> | 2022-04-22 19:57:04 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2022-04-22 22:07:08 +0200 |
commit | adf057efbe2ce443f820980568a6481774f67597 (patch) | |
tree | f1ee1f90747b8f3ed332fc1bca4d8e9ac9a208b8 /interface-definitions | |
parent | 5b2e7394403461598cf71d0d5cc9ac6e011e9eee (diff) | |
download | vyos-1x-adf057efbe2ce443f820980568a6481774f67597.tar.gz vyos-1x-adf057efbe2ce443f820980568a6481774f67597.zip |
dhcp: T4388: missing constraint on tftp-server-name option
(cherry picked from commit 0b466f7a54cfedaf53edec5f3d58676113ece391)
Diffstat (limited to 'interface-definitions')
-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 d1ed579e9..8c10ccf99 100644 --- a/interface-definitions/dhcp-server.xml.in +++ b/interface-definitions/dhcp-server.xml.in @@ -369,6 +369,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"> |