summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2013-03-10 19:16:55 +0100
committerJo-Philipp Wich <jow@openwrt.org>2013-03-10 19:42:31 +0100
commitc320b26725989af881bceb13bdefa767cae56e49 (patch)
tree69e1ab3828dd6208f163d156633c26375dea8129 /main.c
parent9d72f0ecb589960bfe21751fbef470116c041a3d (diff)
downloadfirewall3-c320b26725989af881bceb13bdefa767cae56e49.tar.gz
Get rid of redundant fw3_defaults object, instead add a running_flags bitfield to the existing fw3_defaults structure
Diffstat (limited to 'main.c')
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index cd821fc..ad34968 100644
--- a/main.c
+++ b/main.c
@@ -135,7 +135,7 @@ restore_pipe(enum fw3_family family, bool silent)
static bool
family_running(struct fw3_state *state, enum fw3_family family)
{
- return hasbit(state->running_defaults.flags, family);
+ return hasbit(state->defaults.running_flags, family);
}
static bool