X-Git-Url: https://git.distorted.org.uk/~mdw/hippotat/blobdiff_plain/8c771381ce4cfa26901412997c266457b05921d4..d96f4d70037bcd739dd9674f4fb2f3d38abce956:/hippotat diff --git a/hippotat b/hippotat index 18cd14e..379a184 100755 --- a/hippotat +++ b/hippotat @@ -254,6 +254,12 @@ def process_cfg(_opts, putative_servers, putative_clients): c.max_queue_time = srch(cfg.getint, 'max_queue_time') c.vroutes = srch(cfg.get, 'vroutes') + def cfg_get_raw(*args, **kwargs): + return cfg.get(*args, raw=True, **kwargs) + + try: c.ifname = srch(cfg_get_raw, 'ifname_client') + except NoOptionError: pass + try: c.url = srch(cfg.get,'url') except NoOptionError: cfg_process_saddrs(c, ss)