summaryrefslogtreecommitdiff
path: root/interface-definitions/include
diff options
context:
space:
mode:
authorRuben Herold <ruben@puettmann.net>2026-08-31 13:06:51 +0200
committerViacheslav Hletenko <seversss265@gmail.com>2026-10-15 16:05:57 +0300
commitd6c9aa14bca0f7a36e80fd55d5d12adfb0ad9a52 (patch)
tree20ee49ec5b56f36c69e8c78d7f7aa93d98f27154 /interface-definitions/include
parent2e5ea7a8304ed6ce504b3928e3b2f52574a61397 (diff)
downloadvyos-1x-d6c9aa14bca0f7a36e80fd55d5d12adfb0ad9a52.tar.gz
vyos-1x-d6c9aa14bca0f7a36e80fd55d5d12adfb0ad9a52.zip
dhcp-server: T9267: fix substring default length for odd hex digit count
The auto-computed substring length floored instead of rounding up, so a value like 0x1 produced substring(..., 0, 0) - an always-empty comparison that can never match, even though Kea itself pads 0x1 to the single byte 0x01. Round up to match Kea's own padding behavior. Found by CodeRabbit review on PR #5436.
Diffstat (limited to 'interface-definitions/include')
0 files changed, 0 insertions, 0 deletions