Skip to content
Commit bc1015f7 authored by Jo-Philipp Wich's avatar Jo-Philipp Wich
Browse files

luci-proto-wireguard: fix fwmark validation to allow 32 bit values



The iptables mark field is 32 bits wide, which is 4 bytes and so 8 hex
characters. Fix the fwmark validation to allow 8 characters in the hex
string.

Fixes: #5098
Suggested-by: default avatarRobert <32970961+differentblue@users.noreply.github.com>
Signed-off-by: default avatarJo-Philipp Wich <jo@mein.io>
parent e35041e0
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment