We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e912eb commit e81c189Copy full SHA for e81c189
cli/remoteforward.go
@@ -29,11 +29,15 @@ var remoteForwardRegexTCP = regexp.MustCompile(`^(\d+):(.+):(\d+)$`)
29
var remoteForwardRegexUnixSocket = regexp.MustCompile(`^(\\.+):(\\.+)$`)
30
31
func remoteForwardTCP(flag string) bool {
32
- return remoteForwardRegexTCP.MatchString(flag)
+ reg := remoteForwardRegexTCP.MatchString(flag)
33
+ fmt.Println("remoteForwardTCP", reg)
34
+ return reg
35
}
36
37
func remoteForwardUnixSocket(flag string) bool {
- return remoteForwardRegexUnixSocket.MatchString(flag)
38
+ reg := remoteForwardRegexUnixSocket.MatchString(flag)
39
+ fmt.Println("remoteForwardUnixSocket", reg)
40
41
42
43
func validateRemoteForward(flag string) bool {
0 commit comments