]> mj.ucw.cz Git - nsc-5.git/commitdiff
Fix FORWARDING
authorMartin Mares <mj@ucw.cz>
Thu, 10 Aug 2023 11:36:20 +0000 (13:36 +0200)
committerMartin Mares <mj@ucw.cz>
Thu, 10 Aug 2023 11:36:20 +0000 (13:36 +0200)
Patch by Václav Ovsík, thanks.

README
m4/mkconf.m4

diff --git a/README b/README
index 1417708d746fd22f9f475f894d268b07d275988d..07766cfaf1dee9832fb719519cfb5698063d8131 100644 (file)
--- a/README
+++ b/README
@@ -151,7 +151,7 @@ REVERSE(network, primary-files...)
                You can also use the REV macro explicitly, which can be handy
                for example in SECONDARY declarations.
 
-FORWARDED(zone, ip...)
+FORWARDING(zone, ip...)
                Define a forwarding zone. All queries are forwarded to the
                specified name servers.
 
index befb3066acbc65ff0e1cea69e2c49a965325e330..2c3681ce29740f2df025675b0228ca3d85508a9a 100644 (file)
@@ -39,6 +39,8 @@ ZZ_OPTIONS()dnl
 
 divert(-1)')
 
+define(`FORWard', `patsubst(`$*',`,',`; ')')
+
 # Blackhole zones
 
 define(`BLACKHOLE', `divert(0)zone "$1" in {