projects
/
oweals
/
firewall3.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8957be6
)
defaults.c: remove toplevel_rule struct
author
Alexandru Ardelean
<ardeleanalex@gmail.com>
Wed, 27 Apr 2016 06:16:51 +0000
(09:16 +0300)
committer
Jo-Philipp Wich
<jo@mein.io>
Wed, 27 Apr 2016 06:21:16 +0000
(08:21 +0200)
Since commit
60f1444
, this struct is no longer used.
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
defaults.c
patch
|
blob
|
history
diff --git
a/defaults.c
b/defaults.c
index e246949b5a0ee2b2c16ff753f355dfa25e0250df..3d210f9de5ad8f42101ca98eba1f5682f24454e1 100644
(file)
--- a/
defaults.c
+++ b/
defaults.c
@@
-164,13
+164,6
@@
fw3_print_default_chains(struct fw3_ipt_handle *handle, struct fw3_state *state,
set(defs->flags, handle->family, handle->table);
}
-
-struct toplevel_rule {
- enum fw3_table table;
- const char *chain;
- const char *target;
-};
-
void
fw3_print_default_head_rules(struct fw3_ipt_handle *handle,
struct fw3_state *state, bool reload)