From a14782d3bb7fe3e65f19e45d913d2e5f5d8662bb Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Tue, 25 Apr 2017 15:34:13 +0100 Subject: [PATCH] ensure mtu is in the ipif substitution set Signed-off-by: Ian Jackson --- hippotatlib/__init__.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hippotatlib/__init__.py b/hippotatlib/__init__.py index 2fa3008..de939c8 100644 --- a/hippotatlib/__init__.py +++ b/hippotatlib/__init__.py @@ -577,6 +577,9 @@ def cfg_process_ipif(c, sections, varmap): try: v = getattr(c, s) except AttributeError: continue setattr(c, d, v) + for d in ('mtu',): + v = cfg_search(cfg.get, d, sections) + setattr(c, d, v) #print('CFGIPIF',repr((varmap, sections, c.__dict__)),file=sys.stderr) -- 2.11.0