HomeFreeBSD

ctld: Remove dead code in UCL parsing of hex DSCP values

Description

ctld: Remove dead code in UCL parsing of hex DSCP values

libucl treats strings starting with "0x" as an integer if they do
not contain invalid characters. The code also looks broken as it
only calls strtol if the string exactly matches "0x" without any
trailing characters.

Sponsored by: Chelsio Communications
Differential Revision: https://reviews.freebsd.org/D49644

Details

Provenance
jhbAuthored on Apr 11 2025, 2:00 PM
Differential Revision
D49644: ctld: Remove dead code in UCL parsing of hex DSCP values
Parents
rG2736dc8c28a3: ctld: Add a label string to auth_groups
Branches
Unknown
Tags
Unknown