summaryrefslogtreecommitdiff
path: root/smoketest
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-02-22 07:53:48 +0100
committerChristian Poessinger <christian@poessinger.com>2022-02-22 07:53:48 +0100
commitff70406e3ba815ccc9c71c10e1be7f36774dac82 (patch)
tree9395a28dffc904855063d6aed8fcee7f15fd4012 /smoketest
parentf73362462ea097757b7b8ed3a7338ef950160edc (diff)
downloadvyos-1x-ff70406e3ba815ccc9c71c10e1be7f36774dac82.tar.gz
vyos-1x-ff70406e3ba815ccc9c71c10e1be7f36774dac82.zip
Revert "backport: policy: T4151: Bugfix policy ipv6-local-route"
This reverts commit ed7c674da17519e6331a9cef8522c5e49251d505.
Diffstat (limited to 'smoketest')
-rwxr-xr-xsmoketest/scripts/cli/test_policy.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/smoketest/scripts/cli/test_policy.py b/smoketest/scripts/cli/test_policy.py
index 8d6a69a77..6acb081dd 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.0/24', '203.0.114.5']
- destinations = ['203.0.112.0/24', '203.0.116.5']
+ sources = ['203.0.113.1/24', '203.0.114.5']
+ destinations = ['203.0.112.1/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 = None
- original_v6 = None
+ original = ['']
+ original_v6 = ['']
self.assertEqual(sort_ip(tmp), original)
self.assertEqual(sort_ip(tmp_v6), original_v6)