Skip to content

Instantly share code, notes, and snippets.

@Sean-Der
Created April 28, 2019 20:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Sean-Der/cbc0532c491dd7e6b9932a37520d1d04 to your computer and use it in GitHub Desktop.
Save Sean-Der/cbc0532c491dd7e6b9932a37520d1d04 to your computer and use it in GitHub Desktop.
diff --git a/gather.go b/gather.go
index fed2056..e017c9e 100644
--- a/gather.go
+++ b/gather.go
@@ -85,6 +85,7 @@ func listenUDP(portMax, portMin int, network string, laddr *net.UDPAddr) (*net.U
}
func gatherCandidatesLocal(a *Agent, networkTypes []NetworkType) {
+ return
localIPs := localInterfaces(networkTypes)
for _, ip := range localIPs {
for _, network := range supportedNetworks {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment