wireguard: verify routes configured in .netdev file
Then, scope and friends are correctly adjusted, and the behavior should be matched when the same route is configured in .network file.
This commit is contained in:
@@ -1823,7 +1823,7 @@ class NetworkdNetDevTests(unittest.TestCase, Utilities):
|
||||
|
||||
output = check_output('ip -4 route show dev wg99 table 1234')
|
||||
print(output)
|
||||
self.assertIn('192.168.26.0/24 proto static metric 123', output)
|
||||
self.assertIn('192.168.26.0/24 proto static scope link metric 123', output)
|
||||
|
||||
output = check_output('ip -6 route show dev wg99 table 1234')
|
||||
print(output)
|
||||
|
||||
Reference in New Issue
Block a user