vendor-class-identifier (code 60) is a string so you should dynamic cast
the result of getOption() with DHO_VENDOR_CLASS_IDENTIFIER to
an OptionString. There are a lot of examples in unit tests and
as far as I can remember at least a post in this list as you are not
the first asking this.
Francis Dupont <fdup...@isc.org>
PS: look at src/lib/dhcp/std_option_defs.h for definitions of standard
options. getData works only on unknown options or options which are not
defined to a specific content type (i.e, binary).
Kea-users mailing list