mirror of
https://github.com/opnsense/plugins.git
synced 2026-02-03 20:40:37 -05:00
dns/rfc2136: function renamed for clarity
This commit is contained in:
parent
1936e00736
commit
5c2207906b
2 changed files with 2 additions and 2 deletions
|
|
@ -1,6 +1,6 @@
|
|||
PLUGIN_NAME= rfc2136
|
||||
PLUGIN_VERSION= 1.9
|
||||
PLUGIN_REVISION= 3
|
||||
PLUGIN_REVISION= 4
|
||||
PLUGIN_COMMENT= RFC-2136 Support
|
||||
PLUGIN_MAINTAINER= franco@opnsense.org
|
||||
PLUGIN_DEPENDS= bind-tools
|
||||
|
|
|
|||
|
|
@ -222,7 +222,7 @@ function get_rfc2136_ip_address($int, $ipver = 4)
|
|||
return 'down';
|
||||
}
|
||||
|
||||
if ($ipver != 6 && is_private_ip($ip_address)) {
|
||||
if ($ipver != 6 && is_private_ipv4($ip_address)) {
|
||||
$ip_ch = curl_init('http://checkip.dyndns.org');
|
||||
curl_setopt($ip_ch, CURLOPT_RETURNTRANSFER, 1);
|
||||
curl_setopt($ip_ch, CURLOPT_INTERFACE, $ip_address);
|
||||
|
|
|
|||
Loading…
Reference in a new issue