File tree Expand file tree Collapse file tree 2 files changed +21
-4
lines changed
Expand file tree Collapse file tree 2 files changed +21
-4
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ def tunnel "hostyhost-service1" {
1919 enabled = not cond_long
2020}
2121
22- def service1 "another-service1 " {
22+ def service "another-service " {
2323 host = "yet" + "." + "another.com"
2424 local_port = service1_local_base_port + 1
2525 remote_port = service1_default_port
@@ -43,3 +43,11 @@ def just_a_test "test" {
4343 field2 = "pi=" + field1
4444 }
4545}
46+
47+ def service "this" { host = "this.as.well.com" }
48+
49+
50+ bind {
51+ tunnel:1
52+ service:"this",
53+ }
Original file line number Diff line number Diff line change 61610086 | SETFIELD 15 'enabled'
62620088 | POP
63630089 20:2 ENDBLOCK
64- 0090 22:34 DEFBLOCK 16 'service1 ' 17 'another-service1 '
64+ 0090 22:32 DEFBLOCK 16 'service ' 17 'another-service '
65650093 23:14 CONST 18 'yet'
66660095 23:20 CONST 19 '.'
67670097 | ADD
1491490225 | POP
1501500226 44:3 ENDBLOCK
1511510227 45:2 ENDBLOCK
152- 0228 46:1 POPN 12
153- 0230 | RET
152+ 0228 47:21 DEFBLOCK 16 'service' 49 'this'
153+ 0231 47:47 CONST 50 'this.as.well.com'
154+ 0233 | SETFIELD 13 'host'
155+ 0235 | POP
156+ 0236 47:49 ENDBLOCK
157+ 0237 50:7 DEFUBIND
158+ 0238 51:10 BIND 0x11 9 'tunnel' 0#
159+ 0242 52:17 BIND 0x25 16 'service' 1# 49 'this'
160+ 0247 53:2 ENDUBIND
161+ 0248 54:1 POPN 12
162+ 0250 | RET
You can’t perform that action at this time.
0 commit comments