diff options
Diffstat (limited to 'ipv6-update')
-rw-r--r-- | ipv6-update | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ipv6-update b/ipv6-update index 1004119..52c02db 100644 --- a/ipv6-update +++ b/ipv6-update @@ -7,10 +7,10 @@ :local PdPrefix $"pd-prefix"; :global ParseKeyValueStore; +:global LogAndError; :if ([ :typeof $PdPrefix ] = "nothing") do={ - :log error "This script is supposed to run from ipv6 dhcp-client."; - :error "Error: See log for details."; + $LogAndError "This script is supposed to run from ipv6 dhcp-client."; } :local Pool [ / ipv6 pool get [ find where prefix=$PdPrefix ] name ]; |