chiark / gitweb /
a77600ec500077952a0aad5683cb0285217270f8
[hippotat.git] / client
1 #!/usr/bin/python3
2
3 from hippotat import *
4
5 defcfg = '''
6 [DEFAULT]
7 max_requests_outstanding = 4
8
9 [virtual]
10 mtu = 1500
11 # [host]  } maybe computed from `network' (see server defaults)
12
13 [server]
14 # url     } maybe computed from `addrs' and `port' (see server defaults)
15
16 # [<my ip address>]
17 # password = <password>
18 '''
19
20 def process_cfg():
21   global url
22   global max_requests_outstanding
23
24   process_cfg_common_always()
25   
26
27 common_startup(defcfg)
28 process_cfg()