Merge pull request #12574 from yuwata/network-mtu-issue-12552
network: do not always bump MTU with additional 4bytes
This commit is contained in:
@@ -479,7 +479,7 @@ class NetworkdNetDevTests(unittest.TestCase, Utilities):
|
||||
|
||||
output = subprocess.check_output(['ip', '-d', 'link', 'show', 'test1']).rstrip().decode('utf-8')
|
||||
print(output)
|
||||
self.assertRegex(output, ' mtu 2004 ')
|
||||
self.assertRegex(output, ' mtu 2000 ')
|
||||
|
||||
output = subprocess.check_output(['ip', '-d', 'link', 'show', 'vlan99']).rstrip().decode('utf-8')
|
||||
print(output)
|
||||
|
||||
Reference in New Issue
Block a user