Skip to content

Using IPv4Address.packed to convert ip address to its bytes#2

Open
KimiNewt wants to merge 1 commit intofrawau:masterfrom
KimiNewt:master
Open

Using IPv4Address.packed to convert ip address to its bytes#2
KimiNewt wants to merge 1 commit intofrawau:masterfrom
KimiNewt:master

Conversation

@KimiNewt
Copy link

@KimiNewt KimiNewt commented Aug 5, 2019

Removed int_to_bytes function, using IPv4Address.packed instead
This also solves an issue where the source ip being set as 0.0.0.0 doesn't work.

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