diff options
author | Kim Hagen <kim.sidney@gmail.com> | 2016-02-09 02:08:23 -0500 |
---|---|---|
committer | Kim Hagen <kim.sidney@gmail.com> | 2016-02-09 02:08:23 -0500 |
commit | 9d0c8946c537a1d857df67be2ffc26255c24bdbb (patch) | |
tree | 325ed1ddb0a0a26560f1056cd4b00f9001cc99d9 /scripts/vyatta-dhcp-helper.pl | |
parent | 08ec1c93a80be4b4dcec5d4fa4723133225b1367 (diff) | |
download | vyatta-cfg-system-9d0c8946c537a1d857df67be2ffc26255c24bdbb.tar.gz vyatta-cfg-system-9d0c8946c537a1d857df67be2ffc26255c24bdbb.zip |
Use directory /var/lib/dhcp instead of /var/lib/dhcp3.
Use directory /etc/dhcp instead of /etc/dhcp3.
Diffstat (limited to 'scripts/vyatta-dhcp-helper.pl')
-rw-r--r-- | scripts/vyatta-dhcp-helper.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/vyatta-dhcp-helper.pl b/scripts/vyatta-dhcp-helper.pl index 40291654..6febbaf9 100644 --- a/scripts/vyatta-dhcp-helper.pl +++ b/scripts/vyatta-dhcp-helper.pl @@ -18,7 +18,7 @@ sub get_dhcp_router { if (!Vyatta::Misc::is_dhcp_enabled($dhcp_iface,0)) { return "127.0.0.1"; } - my $lease = "/var/lib/dhcp3/dhclient_${dhcp_iface}_lease"; + my $lease = "/var/lib/dhcp/dhclient_${dhcp_iface}_lease"; my $router = `grep new_routers= $lease | cut -d"'" -f2`; my @r = split(/,/, $router); $router = $r[0]; |