diff options
author | Christian Breunig <christian@breunig.cc> | 2025-06-19 17:02:07 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-06-19 17:02:07 +0200 |
commit | ded75e2a7a611fb285f015cbc9d7b6cf66b84701 (patch) | |
tree | 754ddc7ed025885f45d7e25ecd1c32d4227de4e5 | |
parent | bf7d9897f14a9937e36165040ddd9addc56cadd8 (diff) | |
parent | 858716418d281791214eb01e4495f99e46dd1f59 (diff) | |
download | vyos-1x-ded75e2a7a611fb285f015cbc9d7b6cf66b84701.tar.gz vyos-1x-ded75e2a7a611fb285f015cbc9d7b6cf66b84701.zip |
Merge pull request #4564 from factor2431/fix-wireguard-fwmark
T7554: fix wireguard fwmark parsing
-rw-r--r-- | python/vyos/ifconfig/wireguard.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/vyos/ifconfig/wireguard.py b/python/vyos/ifconfig/wireguard.py index 3a28723b3..6b5e52412 100644 --- a/python/vyos/ifconfig/wireguard.py +++ b/python/vyos/ifconfig/wireguard.py @@ -52,7 +52,7 @@ class WireGuardOperational(Operational): 'private_key': None if private_key == '(none)' else private_key, 'public_key': None if public_key == '(none)' else public_key, 'listen_port': int(listen_port), - 'fw_mark': None if fw_mark == 'off' else int(fw_mark), + 'fw_mark': None if fw_mark == 'off' else int(fw_mark, 16), 'peers': {}, } else: |