chiark
/
gitweb
/
~mdw
/
hippotat
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ensure mtu is in the ipif substitution set
[hippotat]
/
hippotatlib
/
__init__.py
diff --git
a/hippotatlib/__init__.py
b/hippotatlib/__init__.py
index 2fa300831e6bc186edf165c5b12eef7ed2d4e3f7..de939c86b09621dbddb7c5f1445ad1bf4ed4b717 100644
(file)
--- 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)