diff options
author | Chris Buechler <cmb@pfsense.org> | 2008-06-02 00:29:04 +0000 |
---|---|---|
committer | Chris Buechler <cmb@pfsense.org> | 2008-06-02 00:29:04 +0000 |
commit | 35befe4c3edc99ff9b21bd766891658ca782f479 (patch) | |
tree | 67bd5eac55df63bc8f873305045b5920841d2ece /usr | |
parent | 1c8bfe8c71387bd72bdb33944f1f581527e25dd6 (diff) | |
download | pfsense-35befe4c3edc99ff9b21bd766891658ca782f479.zip pfsense-35befe4c3edc99ff9b21bd766891658ca782f479.tar.gz |
Use proper leases file.
Ticket #1742
Diffstat (limited to 'usr')
-rwxr-xr-x | usr/local/www/services_dhcp_relay.php | 2 |
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 |