headers: change Transport.Destination type to net.IP

This commit is contained in:
aler9
2021-06-19 18:58:31 +02:00
parent 84f174f10f
commit ff8c485b11
6 changed files with 24 additions and 13 deletions

View File

@@ -272,7 +272,7 @@ func TestClientRead(t *testing.T) {
v := base.StreamDeliveryMulticast
th.Delivery = &v
th.Protocol = base.StreamProtocolUDP
v2 := "224.1.0.1"
v2 := net.ParseIP("224.1.0.1")
th.Destination = &v2
th.Ports = &[2]int{25000, 25001}