Skip to content

Commit

Permalink
Fix punch panics (#32)
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewScibek authored Jul 17, 2019
1 parent 745aeec commit c952a47
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions cmd/http.go
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ func tunnelHTTP() {
LocalPort: port,
Subdomain: subdomain,
LogLevel: logLevel,
TCPPorts: response.TCPPorts,
}
tunnel.StartReverseTunnel(tunnelConfig)
}
1 change: 1 addition & 0 deletions cmd/https.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ func tunnelHTTPS() {
LocalPort: port,
Subdomain: subdomain,
LogLevel: logLevel,
TCPPorts: response.TCPPorts,
}
tunnel.StartReverseTunnel(tunnelConfig)
}
2 changes: 1 addition & 1 deletion restapi/tunnels.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ type Tunnel struct {
PortTypes []string `jsonapi:"attr,port,omitempty"`
PublicKey string `jsonapi:"attr,sshKey,omitempty"`
SSHPort string `jsonapi:"attr,sshPort,omitempty"`
TCPPorts []string `jsonapi:"attr,tcpPorts,omitempty"`
TCPPorts []string `jsonapi:"attr,allocatedTcpPorts,omitempty"`
IPAddress string `jsonapi:"attr,ipAddress,omitempty"`
Subdomain *Subdomain `jsonapi:"relation,subdomain,omitempty"`
}
Expand Down

0 comments on commit c952a47

Please sign in to comment.