Commit 3a0acf56 authored by Mikio Hara's avatar Mikio Hara

go.net/ipv6: don't set non-working parameters in test

LGTM=iant
R=iant
CC=golang-codereviews
https://golang.org/cl/172720043
parent 5b314852
......@@ -133,7 +133,6 @@ func TestPacketConnConcurrentReadWriteUnicastUDP(t *testing.T) {
cm := ipv6.ControlMessage{
TrafficClass: DiffServAF11 | CongestionExperienced,
Src: net.IPv6loopback,
Dst: net.IPv6loopback,
}
if ifi != nil {
cm.IfIndex = ifi.Index
......
......@@ -39,7 +39,6 @@ func TestPacketConnReadWriteUnicastUDP(t *testing.T) {
cm := ipv6.ControlMessage{
TrafficClass: DiffServAF11 | CongestionExperienced,
Src: net.IPv6loopback,
Dst: net.IPv6loopback,
}
cf := ipv6.FlagTrafficClass | ipv6.FlagHopLimit | ipv6.FlagSrc | ipv6.FlagDst | ipv6.FlagInterface | ipv6.FlagPathMTU
ifi := loopbackInterface()
......@@ -104,7 +103,6 @@ func TestPacketConnReadWriteUnicastICMP(t *testing.T) {
cm := ipv6.ControlMessage{
TrafficClass: DiffServAF11 | CongestionExperienced,
Src: net.IPv6loopback,
Dst: net.IPv6loopback,
}
cf := ipv6.FlagTrafficClass | ipv6.FlagHopLimit | ipv6.FlagSrc | ipv6.FlagDst | ipv6.FlagInterface | ipv6.FlagPathMTU
ifi := loopbackInterface()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment