summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorhagbard <vyosdev@derith.de>2018-11-30 10:26:36 -0800
committerhagbard <vyosdev@derith.de>2018-11-30 10:26:36 -0800
commita29898b2ea15b7d9cea7fade1b27d38967c52d52 (patch)
tree6671d0d67faae1d5be2ef04a7b9596900352b1f2 /interface-definitions
parent652c626644d03ccf7d03de8f51ae5a2a6e27fd66 (diff)
downloadvyos-1x-a29898b2ea15b7d9cea7fade1b27d38967c52d52.tar.gz
vyos-1x-a29898b2ea15b7d9cea7fade1b27d38967c52d52.zip
Fixes: T1061: Wireguard: Missing option to administrativly shutdown interface
Diffstat (limited to 'interface-definitions')
-rw-r--r--interface-definitions/wireguard.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/interface-definitions/wireguard.xml b/interface-definitions/wireguard.xml
index b0923bbe0..8bfffac9d 100644
--- a/interface-definitions/wireguard.xml
+++ b/interface-definitions/wireguard.xml
@@ -39,6 +39,12 @@
<constraintErrorMessage>interface description is too long (limit 100 characters)</constraintErrorMessage>
</properties>
</leafNode>
+ <leafNode name="disable">
+ <properties>
+ <help>disables the wireguard interface</help>
+ <valueless />
+ </properties>
+ </leafNode>
<leafNode name="port">
<properties>
<help>Local port number to accept connections</help>