From 43d0e72c72600a1bc75518a8dfe31c279b4a9400 Mon Sep 17 00:00:00 2001 From: Bluesaxorcist Date: Sun, 15 Sep 2019 20:21:00 -0500 Subject: Added Dust, Meeklite, and Replicant to dispatcher modes Still needs fixing --- modes/stun_udp/stun_udp.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'modes/stun_udp') 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 -- cgit v1.2.3