Closed fpf3 closed 8 years ago
It looks like you're correct and all three instances should read Sending rather than Received. I'll do a quick fix to the development
branch.
Done in cafcc2dcdb97af2ea173bbd3b853c210caa807ab. Also opened #122 to get this in master
, along with a handful of other items.
@psychomario, in the future, since this issue is technically not resolved since it's not in master
, simply add something to the fixing commit's message such as "fixes
According to RFC 1533, option 53 carries the DHCP message type. On line 314, you check if the message the server receives has a value of "1" in this field, and if so, you print "Received DHCPOFFER." Isn't it actually a "DHCPDISCOVER" message that you have received?
Similarly, in lines 320 and 323 you call what the RFC says is a DHCPREQUEST a DHCPACK.
Is this just a typo, or am I reading something wrong?