diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-11-20 14:41:25 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-11-20 14:41:56 +0100 |
commit | e93cc4e4935cf414f762ed3de47a5f90da69a93d (patch) | |
tree | 3dc2f2cd12a0f1a367d035a08cd218f0b460c553 | |
parent | 221940c94bf24c5adf4107f8a07ae60d7eefe49f (diff) | |
download | vyos-1x-e93cc4e4935cf414f762ed3de47a5f90da69a93d.tar.gz vyos-1x-e93cc4e4935cf414f762ed3de47a5f90da69a93d.zip |
wireguard: ifconfig: T2653: interface address is not mandatory
-rwxr-xr-x | src/conf_mode/interfaces-wireguard.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/conf_mode/interfaces-wireguard.py b/src/conf_mode/interfaces-wireguard.py index 9bda35d0a..7cfc76aa0 100755 --- a/src/conf_mode/interfaces-wireguard.py +++ b/src/conf_mode/interfaces-wireguard.py @@ -80,9 +80,6 @@ def verify(wireguard): raise ConfigError('Wireguard private-key not found! Execute: ' \ '"run generate wireguard [default-keypair|named-keypairs]"') - if 'address' not in wireguard: - raise ConfigError('IP address required!') - if 'peer' not in wireguard: raise ConfigError('At least one Wireguard peer is required!') |