summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-11-21 20:25:59 +0100
committerChristian Breunig <christian@breunig.cc>2023-11-21 20:52:08 +0100
commit0e885f1bf01424130b6876e769cc42612b19351b (patch)
treef21b06cdeaa4120486c2c0deedec29c94a3e254f /interface-definitions
parent3ab206b04350aec4872ed72ae4bd3440a47204f0 (diff)
downloadvyos-1x-0e885f1bf01424130b6876e769cc42612b19351b.tar.gz
vyos-1x-0e885f1bf01424130b6876e769cc42612b19351b.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.
Diffstat (limited to 'interface-definitions')
-rw-r--r--interface-definitions/https.xml.in14
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>