niccokunzmann / python_dhcp_server

a dhcp server in python
MIT License
89 stars 32 forks source link

Client Identifier != mac #14

Open MidgetAteMyMom opened 3 years ago

MidgetAteMyMom commented 3 years ago

When the client_identifier gets parsed it seems to be one byte off.

The client identifier, which gets logged is 01::::: This is the same value as in packet.named_options['client_identifier']. Also, while responding, the client identifier gets set from mac. This is not as defined in the standard

niccokunzmann commented 3 years ago

You are welcome to change it.