diff options
| author | Daniil Baturin <daniil@vyos.io> | 2025-05-06 15:18:45 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-05-06 15:18:45 +0100 |
| commit | a0805e37e1f3935cb1cb016082797b4e664bb920 (patch) | |
| tree | 04596a066353084bc8920cf6a1e99a5bf830698a /src/conf_mode/interfaces_wireguard.py | |
| parent | 1142072141a73596fc8aa0822e8893274632f202 (diff) | |
| parent | f40cf6064a02fbb6baae924e94b9183d6bd87474 (diff) | |
| download | vyos-1x-a0805e37e1f3935cb1cb016082797b4e664bb920.tar.gz vyos-1x-a0805e37e1f3935cb1cb016082797b4e664bb920.zip | |
Merge pull request #4480 from c-po/T7122-pki
T7122: pki: unable to switch from custom cert to ACME when HAProxy service is running with 'redirect-http-to-https' option
Diffstat (limited to 'src/conf_mode/interfaces_wireguard.py')
| -rwxr-xr-x | src/conf_mode/interfaces_wireguard.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf_mode/interfaces_wireguard.py b/src/conf_mode/interfaces_wireguard.py index 192937dba..3ca6ecdca 100755 --- a/src/conf_mode/interfaces_wireguard.py +++ b/src/conf_mode/interfaces_wireguard.py @@ -97,7 +97,7 @@ def verify(wireguard): if 'port' in wireguard and 'port_changed' in wireguard: listen_port = int(wireguard['port']) - if check_port_availability('0.0.0.0', listen_port, 'udp') is not True: + if check_port_availability(None, listen_port, protocol='udp') is not True: raise ConfigError(f'UDP port {listen_port} is busy or unavailable and ' 'cannot be used for the interface!') |
