diff options
author | factor2431 <factor2431@outlook.com> | 2025-06-18 15:56:10 +0800 |
---|---|---|
committer | factor2431 <factor2431@outlook.com> | 2025-06-18 15:56:10 +0800 |
commit | 858716418d281791214eb01e4495f99e46dd1f59 (patch) | |
tree | aa21339283e88f16b90a10a1845308ebd8b909fb /python | |
parent | 5ae3924234f9ffaa2ffda7e9fc52c2b3518a85e2 (diff) | |
download | vyos-1x-858716418d281791214eb01e4495f99e46dd1f59.tar.gz vyos-1x-858716418d281791214eb01e4495f99e46dd1f59.zip |
T7554: fix wireguard fwmark parsing
Diffstat (limited to 'python')
-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: |