X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?a=blobdiff_plain;f=hippotat;h=379a184cf25b3a6fd1d231e475f137c7d1c13982;hb=00ea54437e092ecc925df543d3c6fec30a32d667;hp=18cd14e582262586ab6190abbbb9633558fe2c63;hpb=8c771381ce4cfa26901412997c266457b05921d4;p=hippotat.git 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)