aboutsummaryrefslogtreecommitdiff
path: root/src/hourly.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/hourly.py')
-rwxr-xr-xsrc/hourly.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/hourly.py b/src/hourly.py
index 7af7fd9..1bd01b7 100755
--- a/src/hourly.py
+++ b/src/hourly.py
@@ -213,8 +213,9 @@ def do_hourly_work(hour, logfile):
command_in_namespace = [perform_queries, hour, str(vpn_id)]
logfile.write("Running connection for vpn {}\n".format(vpn_id))
+ # see into vpn_wrapper.sh for explaination of its arguments
p = subprocess.Popen([wrapper, config_path, physical_ip, veth_addr1,
- veth_addr2, route_through_veth] +
+ veth_addr2, route_through_veth, str(vpn_id)] +
command_in_namespace)
pids_wrappers[p.pid] = (vpn_id, subnet, p)