From 1064c5f901b8fb656793dd374a63635ac5375719 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Mon, 24 May 2021 10:26:11 +0200 Subject: pseudo-ethernet: T3575: verify parent interface MTU (cherry picked from commit 38b3dff1ebdf8c26a28d0befa6dcf0b4f51f21be) --- python/vyos/configverify.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'python/vyos/configverify.py') diff --git a/python/vyos/configverify.py b/python/vyos/configverify.py index 7f6fc040d..0ff45da2a 100644 --- a/python/vyos/configverify.py +++ b/python/vyos/configverify.py @@ -1,4 +1,4 @@ -# Copyright 2020 VyOS maintainers and contributors +# Copyright 2020-2021 VyOS maintainers and contributors # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public @@ -48,7 +48,7 @@ def verify_mtu(config): def verify_mtu_parent(config, parent): if 'mtu' not in config or 'mtu' not in parent: return - + mtu = int(config['mtu']) parent_mtu = int(parent['mtu']) if mtu > parent_mtu: -- cgit v1.2.3