diff --git a/cloudflare.php b/cloudflare.php index e74d2ef..2ec0e6e 100755 --- a/cloudflare.php +++ b/cloudflare.php @@ -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 } @@ -439,4 +439,4 @@ private function exitWithSynologyMsg($msg = '') exit(); } } -?> \ No newline at end of file +?>