diff options
| author | Ruben Herold <ruben@puettmann.net> | 2026-09-04 10:54:07 +0200 |
|---|---|---|
| committer | Viacheslav Hletenko <seversss265@gmail.com> | 2026-10-15 16:05:57 +0300 |
| commit | 579fc38cea44993318a429e195ba74b1081fbcc1 (patch) | |
| tree | d889579de7eaa99ecce150194523df535ea9e8c7 /interface-definitions/include/constraint/dependent-error-interface-name.xml.i | |
| parent | d6c9aa14bca0f7a36e80fd55d5d12adfb0ad9a52 (diff) | |
| download | vyos-1x-579fc38cea44993318a429e195ba74b1081fbcc1.tar.gz vyos-1x-579fc38cea44993318a429e195ba74b1081fbcc1.zip | |
dhcp-server: T9267: reject client-class with no match condition
A client-class with options but no relay-agent-information, hostname,
or vendor-class-id passed verify() and produced an empty Kea "test"
expression, which Kea's config parser then rejected with an opaque
syntax error at commit time instead of a VyOS ConfigError.
Likewise, a bare "hostname"/"vendor-class-id" node with neither
"value" nor "substring value" set passed verify() and crashed with an
unhandled KeyError while rendering the Kea class test string.
Reported by alexk37 in review of PR #5436.
Diffstat (limited to 'interface-definitions/include/constraint/dependent-error-interface-name.xml.i')
0 files changed, 0 insertions, 0 deletions
