defining PACKET_MAX_CLASSES more than 5

藤原慎太郎 shintaro.fujiwara at miraclelinux.com
Wed Aug 5 20:39:44 UTC 2015


Hi, I want certain hardware belong to more than 5 classes in dhcpd.conf.

But, I got this message.

dhcpd: too many classes match xx:xx:xx:xx:xx:xx

Is this because in dhcp.h, PACKET_MAX_CLASSES defined like this?

409 #if !defined (PACKET_MAX_CLASSES)
410 # define PACKET_MAX_CLASSES 5
411 #endif

If I change this definition 5 from 10, and rebuild package, what happens?

Thanks in advance.


More information about the dhcp-users mailing list