projects
/
project
/
firewall3.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Unify fw3_default and fw3_target enums
[project/firewall3.git]
/
zones.h
diff --git
a/zones.h
b/zones.h
index c84897bb8539496ba03b4817e30acf2d7a8b0778..8f94ccff7f5d67b0b456bea83937c06bb622a830 100644
(file)
--- a/
zones.h
+++ b/
zones.h
@@
-40,7
+40,7
@@
struct fw3_zone * fw3_lookup_zone(struct fw3_state *state, const char *name,
bool running);
#define fw3_to_src_target(t) \
- (FW3_
TARGET_SRC_ACCEPT - FW3_TARGET
_ACCEPT + t)
+ (FW3_
FLAG_SRC_ACCEPT - FW3_FLAG
_ACCEPT + t)
#define fw3_free_zone(zone) \
fw3_free_object(zone, fw3_zone_opts)