summaryrefslogtreecommitdiff
path: root/cmd/dolmetschctld/dolmetschctld.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/dolmetschctld/dolmetschctld.go')
-rw-r--r--cmd/dolmetschctld/dolmetschctld.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/dolmetschctld/dolmetschctld.go b/cmd/dolmetschctld/dolmetschctld.go
index 61301d0..38f71ad 100644
--- a/cmd/dolmetschctld/dolmetschctld.go
+++ b/cmd/dolmetschctld/dolmetschctld.go
@@ -77,14 +77,14 @@ func main() {
// * initialize control interfaces
var telnet *TelnetInterface
- if telnet, err = NewTelnetInterface("127.0.0.1:1234", sm); err != nil {
+ if telnet, err = NewTelnetInterface("127.0.0.1:1234", sm); err != nil { // TODO: hardcoded address
log.Printf("creating telnet interface failed: %v", err)
os.Exit(1)
}
log.Printf("telnet interface successfully initialized!")
var web *WebInterface
- if web, err = NewWebInterface("127.0.0.1:8234", "./web-static", sm); err != nil {
+ if web, err = NewWebInterface(":8234", "./web-static", sm); err != nil { // TODO: hardcoded address
log.Printf("creating web interface failed: %v", err)
os.Exit(1)
}