summaryrefslogtreecommitdiff
path: root/scripts/vyatta-update-static-route.pl
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/vyatta-update-static-route.pl')
-rwxr-xr-xscripts/vyatta-update-static-route.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/vyatta-update-static-route.pl b/scripts/vyatta-update-static-route.pl
index 5ac98fcd..557b2011 100755
--- a/scripts/vyatta-update-static-route.pl
+++ b/scripts/vyatta-update-static-route.pl
@@ -17,7 +17,7 @@ my $dhcp_hook = '';
if ($option eq 'create') {
$dhcp_hook =<<EOS;
#!/bin/sh
-/opt/vyatta/bin/sudo-users/vyatta-static-dhcp.pl --interface=\"\$interface\" --dhcp=\"$iface\" --route=\"$route\" --table=\"$table\" --new_routers=\"\$new_routers\" --old_routers=\"\$old_routers\" --reason=\"\$reason\"
+/opt/vyatta/bin/sudo-users/vyatta-static-dhcp.pl --interface=\"\$interface\" --dhcp=\"$iface\" --route=\"$route\" --table=\"$table\" --new_ip=\"\$new_ip_address\" --old_ip=\"\$old_ip_address\" --new_routers=\"\$new_routers\" --old_routers=\"\$old_routers\" --reason=\"\$reason\"
EOS
}