From: Tomas Krizek Date: Wed, 1 Apr 2020 15:07:53 +0000 (+0200) Subject: daf: fix example in documentation X-Git-Tag: v5.1.0~21^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a92b0adb39372c07db272c6beff21ed7821d3c46;p=thirdparty%2Fknot-resolver.git daf: fix example in documentation --- diff --git a/modules/daf/README.rst b/modules/daf/README.rst index 51d7b4abe..a988028a5 100644 --- a/modules/daf/README.rst +++ b/modules/daf/README.rst @@ -25,7 +25,7 @@ Firewall rules are declarative and consist of filters and actions. Filters have daf.add('qname ~ %w+.example.com AND src = 192.0.2.0/24 deny') -- We also can reroute addresses in response to alternate target - -- This reroutes 1.2.3.4 to localhost + -- This reroutes 192.0.2.1 to localhost daf.add('src = 127.0.0.0/8 reroute 192.0.2.1-127.0.0.1') -- Subnets work too, this reroutes a whole subnet