pufferffish / wireproxy

Wireguard client that exposes itself as a socks5 proxy
ISC License
4.1k stars 235 forks source link

Remove interface address subnet length check #86

Closed JohanAR closed 10 months ago

JohanAR commented 10 months ago

Resolves #82

JohanAR commented 10 months ago

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.