mirror of
https://github.com/tailscale/tailscale.git
synced 2025-01-08 09:07:44 +00:00
tstest/natlab: remove unused PacketConner type
This commit is contained in:
parent
14b4213c17
commit
97910ce712
@ -23,13 +23,6 @@
|
|||||||
"inet.af/netaddr"
|
"inet.af/netaddr"
|
||||||
)
|
)
|
||||||
|
|
||||||
// PacketConner is something that return a PacketConn.
|
|
||||||
//
|
|
||||||
// The different network types are all PacketConners.
|
|
||||||
type PacketConner interface {
|
|
||||||
PacketConn() net.PacketConn
|
|
||||||
}
|
|
||||||
|
|
||||||
func mustPrefix(s string) netaddr.IPPrefix {
|
func mustPrefix(s string) netaddr.IPPrefix {
|
||||||
ipp, err := netaddr.ParseIPPrefix(s)
|
ipp, err := netaddr.ParseIPPrefix(s)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user