From 95f56bc8656d435aa3e501e6a8926c66b52eeb4e Mon Sep 17 00:00:00 2001 From: Pim van Pelt Date: Sun, 10 Apr 2022 16:14:58 +0000 Subject: [PATCH] bugfix: correct ordering of iface_mtu and host_mtu --- config/interface.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/interface.py b/config/interface.py index 2a1c1d7..1346dc4 100644 --- a/config/interface.py +++ b/config/interface.py @@ -445,7 +445,7 @@ def validate_interfaces(yaml): elif 'mtu' in tap_iface['host']: host_mtu = tap_iface['host']['mtu'] if host_mtu != iface_mtu: - msgs.append("interface %s is a TAP so its MTU %d must match host MTU %d" % (ifname, host_mtu, iface_mtu)) + msgs.append("interface %s is a TAP so its MTU %d must match host MTU %d" % (ifname, iface_mtu, host_mtu)) result = False if iface_address: msgs.append("interface %s is a TAP so it cannot have an address" % (ifname))