# HG changeset patch # User Franz Glasner # Date 1660867220 -7200 # Node ID e292d85338b3641dd724ccb43f1a7e5dcac40397 # Parent cf4097c83691ff046334a9cb41e257518ce112e0 Handle empty $ipv6_defaultrouter values more explicitely diff -r cf4097c83691 -r e292d85338b3 etc/periodic/daily/800.local-ipv6-refresh --- a/etc/periodic/daily/800.local-ipv6-refresh Fri Aug 19 01:46:16 2022 +0200 +++ b/etc/periodic/daily/800.local-ipv6-refresh Fri Aug 19 02:00:20 2022 +0200 @@ -41,12 +41,16 @@ echo 1>&2 "$0: WARNING: \$daily_local_ipv6_refresh_enable is not set properly - assuming \"NO\" has been set" exit 0 ;; -esac +esac case "${ipv6_defaultrouter}" in [Nn][Oo]) # SKIP because no IP static IPv6 router given ;; +'') + # SKIP because this is an unresolvable router specification + echo 1>&2 "$0: WARNING: \$ipv6_defaultrouter has an unexpected empty value" + ;; *) if type anticongestion >/dev/null 2>&1; then anticongestion_sleeptime=60