mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Use get_current_wan_address() instead.
This commit is contained in:
parent
2220c374c9
commit
4f5bfa9ef3
@ -452,8 +452,9 @@
|
||||
function _detectChange() {
|
||||
$currentTime = time();
|
||||
|
||||
$wan_if = get_real_wan_interface();
|
||||
$wan_ip = find_interface_ip($wan_if);
|
||||
#$wan_if = get_real_wan_interface();
|
||||
#$wan_ip = find_interface_ip($wan_if);
|
||||
$wan_ip = get_current_wan_address();
|
||||
$this->_dnsIP = $wan_ip;
|
||||
|
||||
if (file_exists($this->_cacheFile)) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user