[Kea-users] Option 60 vendor class

Francis Dupont fdupont at isc.org
Fri Apr 13 12:03:56 UTC 2018


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.

Regards

Francis Dupont <fdupont at 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).



More information about the Kea-users mailing list