It is senseless to configure the ipv6-auto hook multiple times for a zone. Signed-off-by: Jonatan Schlag --- src/hooks/configs/ipv6-auto | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/hooks/configs/ipv6-auto b/src/hooks/configs/ipv6-auto index 44cef48..c362797 100644 --- a/src/hooks/configs/ipv6-auto +++ b/src/hooks/configs/ipv6-auto @@ -34,6 +34,11 @@ hook_new() { local zone="${1}" shift + if zone_config_hook_is_configured ${zone} "ipv6-auto"; then + log ERROR "You can configure the ipv6-auto hook only once for a zone" + return ${EXIT_ERROR} + fi + while read arg; do case "${arg}" in --privacy-extensions=*) -- 2.6.3