chiark / gitweb /
ipif: set interface names
[hippotat.git] / hippotatlib / __init__.py
index 16bba813016f88654f33d890ebb9588ef2794003..2a2a8ee9f892fe75d65c0cda8832851256509c5e 100644 (file)
@@ -136,9 +136,11 @@ max_batch_up = 4000
 http_retry = 5
 port = 80
 vroutes = ''
+ifname_client = hippo%%d
+ifname_server = shippo%%d
 
 #[server] or [<client>] overrides
-ipif = userv root ipif %(local)s,%(peer)s,%(mtu)s,slip %(rnets)s
+ipif = userv root ipif %(local)s,%(peer)s,%(mtu)s,slip,%(ifname)s %(rnets)s
 
 # relating to virtual network
 mtu = 1500