X-Git-Url: https://git.distorted.org.uk/~mdw/hippotat/blobdiff_plain/764fcd06ad67cc097b77ace0fc941a836cd1ef33..d72f83602e9173940102c718974025e16b873657:/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)