diff options
author | Christian Poessinger <christian@poessinger.com> | 2022-01-21 14:51:04 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-21 14:51:04 +0100 |
commit | f791d3ef4c33a4175813f0c00c41ae20aaa447d0 (patch) | |
tree | 895a0e3adad8c39f873318e8bdca7642856ce8e3 /smoketest | |
parent | ec5eb00bd83a235492d3742bf3f80c604f5206dd (diff) | |
parent | 2e4bceee568d4f132d0667a3ca51d05154f375d5 (diff) | |
download | vyos-1x-f791d3ef4c33a4175813f0c00c41ae20aaa447d0.tar.gz vyos-1x-f791d3ef4c33a4175813f0c00c41ae20aaa447d0.zip |
Merge pull request #1183 from hensur/current-ipv6-local-route
policy: T4151: Bugfix policy ipv6-local-route
Diffstat (limited to 'smoketest')
-rwxr-xr-x | smoketest/scripts/cli/test_policy.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/smoketest/scripts/cli/test_policy.py b/smoketest/scripts/cli/test_policy.py index 9f9c11fb5..d055762f4 100755 --- a/smoketest/scripts/cli/test_policy.py +++ b/smoketest/scripts/cli/test_policy.py @@ -1381,8 +1381,8 @@ class TestPolicy(VyOSUnitTestSHIM.TestCase): path = base_path + ['local-route'] path_v6 = base_path + ['local-route6'] - sources = ['203.0.113.1/24', '203.0.114.5'] - destinations = ['203.0.112.1/24', '203.0.116.5'] + sources = ['203.0.113.0/24', '203.0.114.5'] + destinations = ['203.0.112.0/24', '203.0.116.5'] sources_v6 = ['2001:db8:1338::/126', '2001:db8:1339::/56'] destinations_v6 = ['2001:db8:13::/48', '2001:db8:16::/48'] fwmk = '23' @@ -1432,8 +1432,8 @@ class TestPolicy(VyOSUnitTestSHIM.TestCase): tmp = cmd('ip rule show prio 103') tmp_v6 = cmd('ip -6 rule show prio 103') - original = [''] - original_v6 = [''] + original = None + original_v6 = None self.assertEqual(sort_ip(tmp), original) self.assertEqual(sort_ip(tmp_v6), original_v6) |