Determine DHCP-packet type
Ivan V. Borodin
vanchik at yandex.ru
Wed Aug 2 08:46:37 UTC 2006
Has anyone any idea how to determine packet type (DHCPDISCOVER,
DHCPREQUEST, etc) coming to dhcpd? For example, I try to log some info
log(info, concat("Device type: '", option MOTO.devtype, "'"));
('MOTO' is encapsulated option 43)
Line above logs device type twice: first on DISCOVER, second on REQUEST.
I think it's reasonable to log it only once.
Your kind help will be very much appreciated. :)
Ivan V. Borodin <ivan at vimcom.ru>
JSC "Vimcom Optic TS"
More information about the dhcp-users