MINOR: pattern: forbid dns resolutions
This patch adds the flags "-n" on the acl parser. the flag "-n" forbif
the DNS resolutions. The maps have always the dns resolutions disabled.
diff --git a/include/types/pattern.h b/include/types/pattern.h
index 839eae6..3859eda 100644
--- a/include/types/pattern.h
+++ b/include/types/pattern.h
@@ -65,6 +65,7 @@
enum {
PAT_F_IGNORE_CASE = 1 << 0, /* ignore case */
PAT_F_TREE = 1 << 1, /* some patterns are arranged in a tree */
+ PAT_F_NO_DNS = 1 << 2, /* dont perform any DNS requests */
};
/* ACL match methods */