Skip to content

Commit f515e8b

Browse files
committed
remove not needed FakePacketCon
1 parent 4adc58e commit f515e8b

File tree

2 files changed

+1
-22
lines changed

2 files changed

+1
-22
lines changed

gather.go

+1-4
Original file line numberDiff line numberDiff line change
@@ -167,10 +167,7 @@ func (a *Agent) gatherCandidatesLocal(ctx context.Context, networkTypes []Networ
167167
case tcp:
168168
if a.ActiveTCP {
169169
fmt.Println("active tcp ip address: ", ip.To16().String())
170-
fakeCon := &fakenet.FaketPacketCon{
171-
IP: ip,
172-
}
173-
conns = append(conns, connAndPort{fakeCon, 0})
170+
conns = append(conns, connAndPort{nil, 0})
174171
tcpType = TCPTypeActive
175172
} else {
176173
// Handle ICE TCP passive mode

internal/fakenet/fake_packet_con.go

-18
This file was deleted.

0 commit comments

Comments
 (0)