mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 07:28:39 +01:00
chrony: fix configuration of IPv6 client access
Fix the init script to allow access from IPv6 subnets of the interface specified in allow section in /etc/config/chrony. Fixes issue #7039. Signed-off-by: Miroslav Lichvar <mlichvar0@gmail.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user