summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
Diffstat (limited to 'usr')
-rwxr-xr-xusr/local/www/services_dhcp_relay.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/services_dhcp_relay.php b/usr/local/www/services_dhcp_relay.php
index 9db68aa..b4d0643 100755
--- a/usr/local/www/services_dhcp_relay.php
+++ b/usr/local/www/services_dhcp_relay.php
@@ -31,7 +31,7 @@
function get_wan_dhcp_server() {
global $config, $g;
- $dhclientfn = $g['vardb_path'] . "/dhclient.leases";
+ $dhclientfn = $g['vardb_path'] . "/dhclient.leases." . $config['interfaces']['wan']['if'];
if(file_exists($dhclientfn))
$leases = file($dhclientfn);
else
OpenPOWER on IntegriCloud