summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-08-17 10:01:09 +0200
committerChristian Poessinger <christian@poessinger.com>2021-08-17 10:01:09 +0200
commit6559d8c19710e10eddab590302f61ddf693e2e82 (patch)
tree2354d54ca6197b3efe364e8c0a8dbb8d40d9b7ad /interface-definitions
parent5c7424f96ba7b08796d9fe9d2797ad162f26d8e0 (diff)
downloadvyos-1x-6559d8c19710e10eddab590302f61ddf693e2e82.tar.gz
vyos-1x-6559d8c19710e10eddab590302f61ddf693e2e82.zip
xml: proxy: use port-number building block for system proxy
Diffstat (limited to 'interface-definitions')
-rw-r--r--interface-definitions/system-proxy.xml.in13
1 files changed, 1 insertions, 12 deletions
diff --git a/interface-definitions/system-proxy.xml.in b/interface-definitions/system-proxy.xml.in
index 791f41f2f..ade168522 100644
--- a/interface-definitions/system-proxy.xml.in
+++ b/interface-definitions/system-proxy.xml.in
@@ -15,18 +15,7 @@
</constraint>
</properties>
</leafNode>
- <leafNode name="port">
- <properties>
- <help>Proxy port</help>
- <valueHelp>
- <format>u32:1-65535</format>
- <description>Numeric IP port</description>
- </valueHelp>
- <constraint>
- <validator name="numeric" argument="--range 1-65535"/>
- </constraint>
- </properties>
- </leafNode>
+ #include <include/port-number.xml.i>
<leafNode name="username">
<properties>
<help>Proxy username</help>