HeaderTransport: add support for destination, ttl, ports

This commit is contained in:
aler9
2020-09-13 14:25:26 +02:00
parent 1fee67f1ca
commit 633f25bb33
2 changed files with 50 additions and 7 deletions

View File

@@ -53,6 +53,15 @@ var casesHeaderTransport = []struct {
v := StreamMulticast
return &v
}(),
Destination: func() *string {
v := "225.219.201.15"
return &v
}(),
TTL: func() *uint {
v := uint(127)
return &v
}(),
Ports: &[2]int{7000, 7001},
},
},
{