]> git.ipfire.org Git - thirdparty/wireguard-go.git/commit
conn: unify code in StdNetBind.Send
authorJosh Bleecher Snyder <josharian@gmail.com>
Mon, 29 Mar 2021 20:11:11 +0000 (13:11 -0700)
committerJosh Bleecher Snyder <josharian@gmail.com>
Tue, 30 Mar 2021 19:09:32 +0000 (12:09 -0700)
commit822f5a6d70c22df93ed1680fbe14ef3733647e89
treeb2f17dfdf840198006730528a220e2cf1c7cd2a1
parent02e419ed8af63294fb0d9015d5c77b78fe92709e
conn: unify code in StdNetBind.Send

The sending code is identical for ipv4 and ipv6;
select the conn, then use it.

Signed-off-by: Josh Bleecher Snyder <josharian@gmail.com>
conn/bind_std.go