X-Git-Url: http://git.archive.openwrt.org/?a=blobdiff_plain;f=zones.h;h=8f94ccff7f5d67b0b456bea83937c06bb622a830;hb=62863ea95d3c2c7dd0b56ac0f1dee5a4590ca70c;hp=7fd8e4cdeac7c65924ef1e655f07efef6799debb;hpb=0b61c395fc64cbc6d3550d80410a26aa49f1681c;p=project%2Ffirewall3.git diff --git a/zones.h b/zones.h index 7fd8e4c..8f94ccf 100644 --- a/zones.h +++ b/zones.h @@ -28,10 +28,10 @@ struct fw3_zone * fw3_alloc_zone(void); void fw3_load_zones(struct fw3_state *state, struct uci_package *p); void fw3_print_zone_chains(enum fw3_table table, enum fw3_family family, - struct fw3_state *state); + bool reload, struct fw3_state *state); void fw3_print_zone_rules(enum fw3_table table, enum fw3_family family, - struct fw3_state *state); + bool reload, struct fw3_state *state); void fw3_flush_zones(enum fw3_table table, enum fw3_family family, bool pass2, bool reload, struct fw3_state *state); @@ -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)