summaryrefslogtreecommitdiff
path: root/modes/stun_udp/stun_udp.go
diff options
context:
space:
mode:
authorBluesaxorcist <joshua@operatorfoundation.org>2019-09-15 20:21:00 -0500
committerBluesaxorcist <joshua@operatorfoundation.org>2019-09-15 20:21:00 -0500
commit43d0e72c72600a1bc75518a8dfe31c279b4a9400 (patch)
treede195d95e1e45d68dcfcf2bbc2a2be1c9b65cbe0 /modes/stun_udp/stun_udp.go
parent6b048e3e998261a4bc105593e27607cf9d56e223 (diff)
Added Dust, Meeklite, and Replicant to dispatcher modes
Still needs fixing
Diffstat (limited to 'modes/stun_udp/stun_udp.go')
-rw-r--r--modes/stun_udp/stun_udp.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/modes/stun_udp/stun_udp.go b/modes/stun_udp/stun_udp.go
index 564e562..70d5565 100644
--- a/modes/stun_udp/stun_udp.go
+++ b/modes/stun_udp/stun_udp.go
@@ -246,7 +246,8 @@ func ServerSetup(termMon *termmon.TermMonitor, bindaddrString string, ptServerIn
return
}
case "replicant":
- if _, ok := args["config"]; ok {
+ if config, ok := args["config"]; ok {
+ fmt.Println(config)
transport := replicant.New(replicant.Config{})
listen = transport.Listen
} else {
@@ -436,4 +437,4 @@ func serverHandler(termMon *termmon.TermMonitor, name string, remote net.Conn, i
dest.Write(writeBuffer)
}
-}
+} \ No newline at end of file