Browse Source

Merge pull request #7050 from mlichvar/chrony-fix-ipv6-allow

chrony: fix configuration of IPv6 client access
lilik-openwrt-22.03
Hannu Nyman 6 years ago
committed by GitHub
parent
commit
fae60e2f19
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions
  1. +1
    -1
      net/chrony/Makefile
  2. +2
    -2
      net/chrony/files/chronyd.init

+ 1
- 1
net/chrony/Makefile View File

@ -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/


+ 2
- 2
net/chrony/files/chronyd.init View File

@ -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


Loading…
Cancel
Save