summaryrefslogtreecommitdiff
path: root/src/conf_mode/interfaces-wireguard.py
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-05-29 19:39:40 +0200
committerGitHub <noreply@github.com>2020-05-29 19:39:40 +0200
commitd40daeaa4d099bfa9afa4ab2d3a217289aa51100 (patch)
tree32c95826d5e66ebb16c4a8f3d22f9249390820bc /src/conf_mode/interfaces-wireguard.py
parentd7ae866ec5221b42bc9bea5b40dd7f7c0c4d78bd (diff)
parent5f4335042cf40bf4bf18294706cce0b3a2fd5907 (diff)
downloadvyos-1x-d40daeaa4d099bfa9afa4ab2d3a217289aa51100.tar.gz
vyos-1x-d40daeaa4d099bfa9afa4ab2d3a217289aa51100.zip
Merge pull request #439 from thomas-mangin/T2088-explicit-airbag
airbag :T2088: make airbag explicit
Diffstat (limited to 'src/conf_mode/interfaces-wireguard.py')
-rwxr-xr-xsrc/conf_mode/interfaces-wireguard.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/conf_mode/interfaces-wireguard.py b/src/conf_mode/interfaces-wireguard.py
index 97dcf626b..ab3e073ae 100755
--- a/src/conf_mode/interfaces-wireguard.py
+++ b/src/conf_mode/interfaces-wireguard.py
@@ -28,6 +28,9 @@ from vyos.util import chown, chmod_750, call
from vyos.validate import is_member, is_ipv6
from vyos import ConfigError
+from vyos import airbag
+airbag.enable()
+
kdir = r'/config/auth/wireguard'
default_config_data = {