1
0
Fork 0
mirror of https://github.com/openstf/stf synced 2025-10-05 19:42:01 +02:00

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
})
}