]> git.ipfire.org Git - people/stevee/network.git/commitdiff
Revert "Only call radvd_update if a zone contains an IPv6."
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 26 Jan 2017 13:25:25 +0000 (13:25 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 26 Jan 2017 13:25:39 +0000 (13:25 +0000)
This reverts commit 6325e3ccbfb73c8ee428b349eacbfc6de19dec47
as requested by the author.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/functions/functions.routing

index 4824f3454f62ca7856893b20d21f5e7b5e0c98b1..c7aac094f11cdca2c4d88abc8a65df4816666425 100644 (file)
@@ -81,9 +81,7 @@ routing_default_update() {
                routes=$(echo ${routes})
 
                # Reload radvd configuration
-               if [[ "${proto}" = "ipv6" ]] && db_exists "${zone}/ipv6"; then
-                       radvd_update
-               fi
+               [[ "${proto}" = "ipv6" ]] && radvd_update
 
                # Remove all default routes.
                if [ -z "${routes}" ]; then