Skip to content

Commit

Permalink
Merge pull request #48 from steelixb/patch-1
Browse files Browse the repository at this point in the history
Fix IPV6
  • Loading branch information
mrikirill authored Sep 19, 2024
2 parents e16f6e3 + da687e1 commit 3528006
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cloudflare.php
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ function __construct($apiKey, $hostname, $ipv4)
$this->ipv4 = $ipv4;

try {
$ipv6 = $this->ipify->tryGetIpv6();
$this->ipv6 = $this->ipify->tryGetIpv6();
} catch (Exception $e) {
// IPv6 not available
}
Expand Down Expand Up @@ -439,4 +439,4 @@ private function exitWithSynologyMsg($msg = '')
exit();
}
}
?>
?>

0 comments on commit 3528006

Please sign in to comment.