tests: verify ttl is remapped to tunnel-ttl

This commit is contained in:
Ariadne Conill 2020-08-19 03:32:10 -06:00
parent 075352b631
commit 93116920da
4 changed files with 5 additions and 0 deletions

View file

@ -4,6 +4,7 @@ iface tun0
tunnel-endpoint 203.0.113.1
tunnel-mode gre
tunnel-physdev eth0
tunnel-ttl 255
address 203.0.113.10/30
gateway 203.0.113.9

View file

@ -4,6 +4,7 @@ iface tun0
endpoint 203.0.113.1
mode gre
tunnel-dev eth0
ttl 255
address 203.0.113.10/30
gateway 203.0.113.9

View file

@ -4,6 +4,7 @@ iface tun0
tunnel-remote 203.0.113.1
tunnel-mode gre
tunnel-dev eth0
tunnel-ttl 255
address 203.0.113.10/30
gateway 203.0.113.9

View file

@ -168,6 +168,7 @@ tunnel_legacy_rewrite_body() {
-o match:"tunnel-local 203.0.113.2" \
-o match:"tunnel-remote 203.0.113.1" \
-o match:"tunnel-mode gre" \
-o match:"tunnel-ttl 255" \
ifquery -E $EXECUTORS_LINUX -i $FIXTURES/tunnel-legacy.interfaces tun0
}
@ -176,5 +177,6 @@ tunnel_ifupdown2_rewrite_body() {
-o match:"tunnel-local 203.0.113.2" \
-o match:"tunnel-remote 203.0.113.1" \
-o match:"tunnel-mode gre" \
-o match:"tunnel-ttl 255" \
ifquery -E $EXECUTORS_LINUX -i $FIXTURES/tunnel-ifupdown2.interfaces tun0
}