diff options
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 |
commit | fac5288ad80b7ca2f23d1d5acf6ced98a61fd8eb (patch) | |
tree | dd463fdaf37a4daf8dddddd63ccd45daee0ad883 /ipset.h | |
parent | b8d6cfc169bf79b72faaab6ef7940798dbfe9328 (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.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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)) |