tstest/natlab: remove unused PacketConner type

pull/517/head
Brad Fitzpatrick 4 years ago
parent 14b4213c17
commit 97910ce712

@ -23,13 +23,6 @@ import (
"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…
Cancel
Save