tstest/natlab: remove unused PacketConner type
This commit is contained in:
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user