summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kpov_judge/tasks/openwrt/task.py2
-rw-r--r--kpov_judge/tasks/set_ip_static_dhcp/task.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/kpov_judge/tasks/openwrt/task.py b/kpov_judge/tasks/openwrt/task.py
index 6e2207e..0439700 100644
--- a/kpov_judge/tasks/openwrt/task.py
+++ b/kpov_judge/tasks/openwrt/task.py
@@ -116,4 +116,4 @@ def task_check(results, params):
return score, hints
def prepare_disks(templates, task_params, global_params):
- write_default_config(templates['simpleArbiterDhcp'], params)
+ write_default_config(templates['simpleArbiterDhcp'], global_params)
diff --git a/kpov_judge/tasks/set_ip_static_dhcp/task.py b/kpov_judge/tasks/set_ip_static_dhcp/task.py
index aef387c..65ca961 100644
--- a/kpov_judge/tasks/set_ip_static_dhcp/task.py
+++ b/kpov_judge/tasks/set_ip_static_dhcp/task.py
@@ -130,5 +130,5 @@ def task_check(results, params):
return score, hints
def prepare_disks(templates, task_params, global_params):
- write_default_config(templates['simpleArbiterDhcpGW'], task_params, global_params)
+ write_default_config(templates['simpleArbiterDhcpGW'], global_params)