]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
doc: fix geoip syntax
authorEric Leblond <eric@regit.org>
Wed, 31 Jul 2019 22:02:30 +0000 (00:02 +0200)
committerVictor Julien <victor@inliniac.net>
Wed, 21 Aug 2019 09:47:49 +0000 (11:47 +0200)
Spaces are not allowed before country code.

doc/userguide/rules/header-keywords.rst

index bae28658763b00d10d123a24af090e2c1fabd6aa..d516fa21529be091776c7f9bd7781ef0a011780e 100644 (file)
@@ -142,11 +142,11 @@ API of MaxMind.
 
 The syntax of geoip::
 
-  geoip: src, RU;
-  geoip: both, CN, RU;
-  geoip: dst, CN, RU, IR;
-  geoip: both, US, CA, UK;
-  geoip: any, CN, IR;
+  geoip: src,RU;
+  geoip: both,CN,RU;
+  geoip: dst,CN,RU,IR;
+  geoip: both,US,CA,UK;
+  geoip: any,CN,IR;
 
 So, you can see you can use the following to make clear on which
 direction you would like to match::