Log IPSET actions.

This commit is contained in:
Wang Jian authored and Simon Kelley committed 2014-03-28 20:52:47 +00:00
1 parent e98bd52e25
commit 49752b90d5
3 files changed
+12 -1

No files matched your search

+7
View File
@@ -1609,6 +1609,13 @@ void log_query(unsigned int flags, char *name, struct all_addr *addr, char *arg)
source = arg;
verb = "to";
}
else if (flags & F_IPSET)
{
source = "ipset add";
dest = name;
name = arg;
verb = daemon->addrbuff;
}
else
source = "cached";