Reverse port forwarding UI actually works now.

This commit is contained in:
Simo Kinnunen
2014-10-14 22:57:44 +09:00
parent 99864fb223
commit cecf08a244
10 changed files with 158 additions and 134 deletions

View File

@@ -172,7 +172,8 @@ module.exports = function ControlServiceFactory(
this.createForward = function(forward) {
return sendTwoWay('forward.create', {
devicePort: forward.devicePort
id: forward.id
, devicePort: forward.devicePort
, targetHost: forward.targetHost
, targetPort: forward.targetPort
})
@@ -180,7 +181,7 @@ module.exports = function ControlServiceFactory(
this.removeForward = function(forward) {
return sendTwoWay('forward.remove', {
devicePort: forward.devicePort
id: forward.id
})
}