Determine DHCP-packet type
Ivan V. Borodin
vanchik at yandex.ru
Wed Aug 2 08:46:37 UTC 2006
Hello there!
Has anyone any idea how to determine packet type (DHCPDISCOVER,
DHCPREQUEST, etc) coming to dhcpd? For example, I try to log some info
like this:
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>
Support engineer
JSC "Vimcom Optic TS"
p. +7(495)-737-37-57
f. +7(495)-737-37-55
More information about the dhcp-users
mailing list