diff options
| -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 4b236503..1001430e 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/dhcp/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]; | 
