Skip to content

Conversation

@mghahari
Copy link

@mghahari mghahari commented Sep 3, 2020

The maximum packet size of DHCP is 1400 bytes.
So why you should set it on 1500?
It causes problems for developers that use your protocol.js for decoding and encoding packets.
I know that they can slice buffer with _w pointer but we can make it easier and more reasonable.

change default buffer size to 1400
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant