Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warning is for 46 byte frames not 64 byte frames? #56

Open
1 of 3 tasks
jwbensley opened this issue Jan 14, 2020 · 0 comments
Open
1 of 3 tasks

Warning is for 46 byte frames not 64 byte frames? #56

jwbensley opened this issue Jan 14, 2020 · 0 comments

Comments

@jwbensley
Copy link
Owner

ISSUE TYPE
  • Bug Report
  • Enhancement/Feature Request
  • Question
VERSION DETAILS

Latest

SUMMARY

Shouldn't this warn against <64 byte frames not 46 byte frames, is this a typo?

https://github.com/jwbensley/Etherate/blob/master/functions.c#L491

                    if (eth->params.f_size < 46) {
                        printf("WARNING: Minimum ethernet payload is 46 bytes, "
                               "Linux may pad the frame out to 46 bytes\n");
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

No branches or pull requests

1 participant