projects
/
project
/
firewall3.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add abstract fw3_xt_reset() implementation
[project/firewall3.git]
/
xtables-5.h
diff --git
a/xtables-5.h
b/xtables-5.h
index 263d0122c2f6586caaad6da8554ada8dd5aeec10..1ae833453d50ced889d9ce800f0811a26a9f84b4 100644
(file)
--- a/
xtables-5.h
+++ b/
xtables-5.h
@@
-19,6
+19,14
@@
#ifndef __FW3_XTABLES_5_H
#define __FW3_XTABLES_5_H
+static inline void
+fw3_xt_reset(void)
+{
+ xtables_matches = NULL;
+ xtables_targets = NULL;
+}
+
+
static inline const char *
fw3_xt_get_match_name(struct xtables_match *m)
{