]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
configs: Fix a misleading IPv6 ACL example in Named ACLs
authorIvan Poddubny <ivan.poddubny@gmail.com>
Sun, 5 May 2024 14:20:15 +0000 (16:20 +0200)
committerAsterisk Development Team <asteriskteam@digium.com>
Thu, 9 May 2024 13:48:09 +0000 (13:48 +0000)
"deny=::" is equivalent to "::/128".
In order to mean "deny everything by default" it must be "::/0".

(cherry picked from commit 685f525b286382e316da6a7d8f5ebeb03046f2c3)

configs/samples/acl.conf.sample

index b052606ce77379275cd82b9f0df37f81ca71cbb2..60404cbb4c5a81133d6f19cdf365ebc06e853890 100644 (file)
@@ -73,7 +73,7 @@
 ;
 ; Named ACLs can use ipv6 addresses just like normal ACLs.
 ;[ipv6_example_1]
-;deny = ::
+;deny = ::/0
 ;permit = ::1/128
 ;
 ;[ipv6_example_2]