We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2f50034 commit 5a6444bCopy full SHA for 5a6444b
active_tcp_test.go
@@ -46,11 +46,12 @@ func TestActiveTCP(t *testing.T) {
46
fmt.Println(tcpMux.LocalAddr())
47
48
passiveAgent, err := NewAgent(&AgentConfig{
49
- TCPMux: tcpMux,
50
- CandidateTypes: []CandidateType{CandidateTypeHost},
51
- NetworkTypes: []NetworkType{NetworkTypeTCP4},
52
- LoggerFactory: loggerFactory,
53
- ActiveTCP: false,
+ TCPMux: tcpMux,
+ CandidateTypes: []CandidateType{CandidateTypeHost},
+ NetworkTypes: []NetworkType{NetworkTypeTCP4},
+ LoggerFactory: loggerFactory,
+ ActiveTCP: false,
54
+ IncludeLoopback: true,
55
})
56
r.NoError(err)
57
r.NotNil(passiveAgent)
0 commit comments