summaryrefslogtreecommitdiffstats
path: root/ipset.h
diff options
context:
space:
mode:
author/C=EU/ST=EU/CN=Jozsef Kadlecsik/emailAddress=kadlec@blackhole.kfki.hu </C=EU/ST=EU/CN=Jozsef Kadlecsik/emailAddress=kadlec@blackhole.kfki.hu>2008-10-21 22:04:47 +0000
committer/C=EU/ST=EU/CN=Jozsef Kadlecsik/emailAddress=kadlec@blackhole.kfki.hu </C=EU/ST=EU/CN=Jozsef Kadlecsik/emailAddress=kadlec@blackhole.kfki.hu>2008-10-21 22:04:47 +0000
commitfac5288ad80b7ca2f23d1d5acf6ced98a61fd8eb (patch)
treedd463fdaf37a4daf8dddddd63ccd45daee0ad883 /ipset.h
parentb8d6cfc169bf79b72faaab6ef7940798dbfe9328 (diff)
- macipmap type reported misleading deprecated separator
tokens and printed the old one at listing set elements. Token printing was errorneous too. (Bugs reported by Krzysztof Oledzki) - Warn only once about deprecated separator tokens in restore mode.
Diffstat (limited to 'ipset.h')
-rw-r--r--ipset.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ipset.h b/ipset.h
index 3e181c4..12091ba 100644
--- a/ipset.h
+++ b/ipset.h
@@ -185,6 +185,8 @@ extern void ipset_free(void **data);
extern struct set *set_find_byname(const char *name);
extern struct set *set_find_byid(ip_set_id_t id);
+extern unsigned warn_once;
+
#define BITSPERBYTE (8*sizeof(char))
#define ID2BYTE(id) ((id)/BITSPERBYTE)
#define ID2MASK(id) (1 << ((id)%BITSPERBYTE))