Log IPSET actions.

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

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";