Skip to content

add little endian support#16

Open
Yneth wants to merge 1 commit intomeh:masterfrom
Yneth:feature/little-endian
Open

add little endian support#16
Yneth wants to merge 1 commit intomeh:masterfrom
Yneth:feature/little-endian

Conversation

@Yneth
Copy link
Copy Markdown

@Yneth Yneth commented May 3, 2022

it was useful to add in my case.
I was trying to send packet on macOS and it was failing, even though it worked on linux.

So I've digged into it and found the following:
- ip_len and ip_off must be in host byte order

Taken from: https://stackoverflow.com/a/7160206

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