aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tunnel
diff options
context:
space:
mode:
Diffstat (limited to 'tunnel')
-rw-r--r--tunnel/service.go6
1 files changed, 2 insertions, 4 deletions
diff --git a/tunnel/service.go b/tunnel/service.go
index 8817751b..cb577358 100644
--- a/tunnel/service.go
+++ b/tunnel/service.go
@@ -6,7 +6,6 @@
package tunnel
import (
- "bufio"
"bytes"
"fmt"
"log"
@@ -208,9 +207,8 @@ func (service *tunnelService) Execute(args []string, r <-chan svc.ChangeRequest,
serviceError = services.ErrorUAPIListen
return
}
- ipcErr := dev.IpcSetOperation(bufio.NewReader(strings.NewReader(uapiConf)))
- if ipcErr != nil {
- err = ipcErr
+ err = dev.IpcSet(uapiConf)
+ if err != nil {
serviceError = services.ErrorDeviceSetConfig
return
}