Merge pull request #12574 from yuwata/network-mtu-issue-12552

network: do not always bump MTU with additional 4bytes
This commit is contained in:
Yu Watanabe
2019-05-16 08:25:48 +02:00
committed by GitHub
6 changed files with 50 additions and 37 deletions
+1 -1
View File
@@ -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)