summaryrefslogtreecommitdiff
path: root/pkg/test/proxy_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/test/proxy_test.go')
-rw-r--r--pkg/test/proxy_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/test/proxy_test.go b/pkg/test/proxy_test.go
index ae89b0a..46782d2 100644
--- a/pkg/test/proxy_test.go
+++ b/pkg/test/proxy_test.go
@@ -10,8 +10,8 @@ func TestProxyHook(t *testing.T) {
c := e.newInstance()
- c.Exec("add name C listen,addr=-:0 proxy,addr=@[addr] dial,addr=@[tunnel.S.listen]")
- c.Exec("add name S listen,addr=-:0 proxy")
+ c.Exec("add name C listen,addr=%%0 proxy,addr=@[addr] dial,addr=@[tunnel.S.listen]")
+ c.Exec("add name S listen,addr=%%0 proxy")
c.Exec("set tunnel.S.proxy.auth user:password")
c.Exec("set tunnel.C.proxy.auth user:password")