From 67b61011221cf658948c5f0f3157bf73d4d9c6da Mon Sep 17 00:00:00 2001 From: Kim Hagen Date: Tue, 9 Feb 2016 04:31:39 -0500 Subject: Use dhcp instead of dhcp3. --- scripts/vyatta-update-static-route.pl | 2 +- templates/protocols/static/route/node.tag/dhcp-interface/node.def | 2 +- .../static/table/node.tag/route/node.tag/dhcp-interface/node.def | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/vyatta-update-static-route.pl b/scripts/vyatta-update-static-route.pl index d50d25c6..c1c35bf8 100755 --- a/scripts/vyatta-update-static-route.pl +++ b/scripts/vyatta-update-static-route.pl @@ -13,7 +13,7 @@ GetOptions("interface=s" => \$iface, ); my $hash = `echo $iface $route $table | md5sum | cut -c1-10`; chomp $hash; -my $FILE_DHCP_HOOK = "/etc/dhcp3/dhclient-exit-hooks.d/static-route-$hash"; +my $FILE_DHCP_HOOK = "/etc/dhcp/dhclient-exit-hooks.d/static-route-$hash"; my $dhcp_hook = ''; if ($option eq 'create') { $dhcp_hook =<