diff options
author | Kim Hagen <kim.sidney@gmail.com> | 2016-02-09 04:10:31 -0500 |
---|---|---|
committer | Kim Hagen <kim.sidney@gmail.com> | 2016-02-09 04:10:31 -0500 |
commit | bbd5b2a113cb64c872142b236b35c650804271eb (patch) | |
tree | becba06e817935d65365d66f7f61e0ee570bbd1c /scripts | |
parent | d6bb593aa88a8ffbd4eeb46e1e96b4a6dcb3fb16 (diff) | |
download | vyatta-cfg-vpn-bbd5b2a113cb64c872142b236b35c650804271eb.tar.gz vyatta-cfg-vpn-bbd5b2a113cb64c872142b236b35c650804271eb.zip |
Use dhcp instead of dhcp3.
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/vpn-config.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/vpn-config.pl b/scripts/vpn-config.pl index 7d0289c..635c416 100755 --- a/scripts/vpn-config.pl +++ b/scripts/vpn-config.pl @@ -1567,7 +1567,7 @@ sub dhcp_hook { /opt/vyatta/bin/sudo-users/vyatta-ipsec-dhcp.pl --interface=\"\$interface\" --new_ip=\"\$new_ip_address\" --reason=\"\$reason\" --old_ip=\"\$old_ip_address\" EOS } - my $hook = "/etc/dhcp3/dhclient-exit-hooks.d/ipsecd"; + my $hook = "/etc/dhcp/dhclient-exit-hooks.d/ipsecd"; open my $dhcp_hook, '>', $hook or die "cannot open $hook"; print ${dhcp_hook} $str; |