diff options
Diffstat (limited to 'modes/stun_udp/stun_udp.go')
-rw-r--r-- | modes/stun_udp/stun_udp.go | 5 |
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 |