diff options
author | Christian Breunig <christian@breunig.cc> | 2023-11-21 20:25:59 +0100 |
---|---|---|
committer | Mergify <37929162+mergify[bot]@users.noreply.github.com> | 2023-11-22 05:51:05 +0000 |
commit | 92a75196e5a0d9568905f1c990a080cc4e1e0ea9 (patch) | |
tree | 9072da20295d86482d94a864f961e57a869cfd56 /interface-definitions | |
parent | d908073cac14539ba54665715ab84a5bf40662ad (diff) | |
download | vyos-1x-92a75196e5a0d9568905f1c990a080cc4e1e0ea9.tar.gz vyos-1x-92a75196e5a0d9568905f1c990a080cc4e1e0ea9.zip |
http: T5762: rename "virtual-host listen-port" -> "virtual-host port"
This complements commit f5e43b136 ("http: T5762: api: make API socket backend
communication the one and only default") so we have a consistent port CLI node
across VyOS components.
(cherry picked from commit 0e885f1bf01424130b6876e769cc42612b19351b)
Diffstat (limited to 'interface-definitions')
-rw-r--r-- | interface-definitions/https.xml.in | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/interface-definitions/https.xml.in b/interface-definitions/https.xml.in index 448075b5b..05c552e6b 100644 --- a/interface-definitions/https.xml.in +++ b/interface-definitions/https.xml.in @@ -41,17 +41,9 @@ </constraint> </properties> </leafNode> - <leafNode name='listen-port'> - <properties> - <help>Port to listen for HTTPS requests; default 443</help> - <valueHelp> - <format>u32:1-65535</format> - <description>Numeric IP port</description> - </valueHelp> - <constraint> - <validator name="numeric" argument="--range 1-65535"/> - </constraint> - </properties> + #include <include/port-number.xml.i> + <leafNode name='port'> + <defaultValue>443</defaultValue> </leafNode> <leafNode name="server-name"> <properties> |