diff --git a/net/chrony/Makefile b/net/chrony/Makefile index 4bfdb0a00..d67306109 100644 --- a/net/chrony/Makefile +++ b/net/chrony/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=chrony PKG_VERSION:=3.3 -PKG_RELEASE:=2 +PKG_RELEASE:=3 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://download.tuxfamily.org/chrony/ diff --git a/net/chrony/files/chronyd.init b/net/chrony/files/chronyd.init index f7aee0a6a..492f755ff 100644 --- a/net/chrony/files/chronyd.init +++ b/net/chrony/files/chronyd.init @@ -36,8 +36,8 @@ handle_allow() { elif [ "$wan6_iface" = "$iface" ]; then echo allow ::/0 else - network_get_subnets subnets $iface || \ - network_get_subnets subnets6 $iface || continue + network_get_subnets subnets $iface + network_get_subnets6 subnets6 $iface for subnet in $subnets $subnets6; do echo allow $subnet done