Skip to content

Remove interface address subnet length check#86

Merged
1 commit merged intowindtf:masterfrom
JohanAR:if_addr_subnet_len
Aug 17, 2023
Merged

Remove interface address subnet length check#86
1 commit merged intowindtf:masterfrom
JohanAR:if_addr_subnet_len

Conversation

@JohanAR
Copy link
Copy Markdown
Contributor

@JohanAR JohanAR commented Aug 17, 2023

Resolves #82

@JohanAR
Copy link
Copy Markdown
Contributor Author

JohanAR commented Aug 17, 2023

Regarding keeping the "addr" variable as opposed to inlining the function call.. It was a long time I programmed any Go so I'm not familiar with coding style best practices, but it seemed like creating a short lived variable is more common than doing inline function calls if looking at the rest of the code base.

@ghost ghost merged commit d1a455e into windtf:master Aug 17, 2023
@JohanAR JohanAR deleted the if_addr_subnet_len branch August 18, 2023 10:47
This pull request was closed.
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.

"interface address subnet should be /32 for IPv4 and /128 for IPv6"

1 participant