aboutsummaryrefslogtreecommitdiffstats
path: root/ipv6-update
diff options
context:
space:
mode:
Diffstat (limited to 'ipv6-update')
-rw-r--r--ipv6-update2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipv6-update b/ipv6-update
index ed266a6..34ed88c 100644
--- a/ipv6-update
+++ b/ipv6-update
@@ -22,7 +22,7 @@
/ ipv6 firewall address-list add list=("ipv6-pool-" . $Pool) address=:: comment=("ipv6-pool-" . $Pool);
:set AddrList [ / ipv6 firewall address-list find where comment=("ipv6-pool-" . $Pool) ];
}
-:local OldPrefix [ / ipv6 firewall address-list get $AddrList address ];
+:local OldPrefix [ / ipv6 firewall address-list get ($AddrList->0) address ];
:if ($OldPrefix != $PdPrefix) do={
:log info ("Updating IPv6 address list with new IPv6 prefix " . $PdPrefix);