diff options
author | Henning Surmeier <me@hensur.de> | 2022-01-21 13:27:18 +0100 |
---|---|---|
committer | Henning Surmeier <me@hensur.de> | 2022-02-14 21:56:21 +0100 |
commit | ed7c674da17519e6331a9cef8522c5e49251d505 (patch) | |
tree | 8c31fe6bd29ac7422d7406d3e4d75242b0638404 /smoketest/scripts | |
parent | e11a7ff1b2817cc8f4b595171fe82a43a209ebc2 (diff) | |
download | vyos-1x-ed7c674da17519e6331a9cef8522c5e49251d505.tar.gz vyos-1x-ed7c674da17519e6331a9cef8522c5e49251d505.zip |
backport: policy: T4151: Bugfix policy ipv6-local-route
Diffstat (limited to 'smoketest/scripts')
-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 6acb081dd..8d6a69a77 100755 --- a/smoketest/scripts/cli/test_policy.py +++ b/smoketest/scripts/cli/test_policy.py @@ -924,8 +924,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' @@ -975,8 +975,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) |