diff options
author | kali kaneko (leap communications) <kali@leap.se> | 2020-02-11 18:33:35 +0100 |
---|---|---|
committer | kali kaneko (leap communications) <kali@leap.se> | 2020-02-11 20:32:30 +0100 |
commit | 3de1071816e4314cd6f8d465b95bbb57038c5a2d (patch) | |
tree | 85dc975d0999ffe155d3aaa4c5cc7b5f7693568d /pkg/auth/sip2/auth.go | |
parent | 27339fc8d15198f22aa853a0237e2737c06bd442 (diff) |
[feat] sip client heartbeat
Diffstat (limited to 'pkg/auth/sip2/auth.go')
-rw-r--r-- | pkg/auth/sip2/auth.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/auth/sip2/auth.go b/pkg/auth/sip2/auth.go index 0fe596b..72b94cd 100644 --- a/pkg/auth/sip2/auth.go +++ b/pkg/auth/sip2/auth.go @@ -67,12 +67,12 @@ func initializeSipConnection(skipConnect bool) (sipClient, error) { sip := newClient(host, port, loc) if skipConnect { - // mainly for testing purposes at the moment + // for testing purposes return sip, nil } sip.setCredentials(user, pass) - _, err := sip.doConnect() + _, err := sip.doConnectAndReact() if err != nil { return sip, err } |