diff options
author | Christian Poessinger <christian@poessinger.com> | 2022-04-28 20:00:28 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-28 20:00:28 +0200 |
commit | af04f714897258cbb0bf08628ab6d11cdedfb40f (patch) | |
tree | 42a75479c30bb059f321f2c10189eb04fd7a83db /interface-definitions/dhcp-server.xml.in | |
parent | 0e9aabc52ffe994474a79297429d17ecc6746c9c (diff) | |
parent | adf057efbe2ce443f820980568a6481774f67597 (diff) | |
download | vyos-1x-af04f714897258cbb0bf08628ab6d11cdedfb40f.tar.gz vyos-1x-af04f714897258cbb0bf08628ab6d11cdedfb40f.zip |
Merge pull request #1297 from c-po/t4388-dhcp-equuleus
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 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"> |