X-Git-Url: http://git.archive.openwrt.org/?p=project%2Ffirewall3.git;a=blobdiff_plain;f=zones.h;fp=zones.h;h=8f94ccff7f5d67b0b456bea83937c06bb622a830;hp=c84897bb8539496ba03b4817e30acf2d7a8b0778;hb=62863ea95d3c2c7dd0b56ac0f1dee5a4590ca70c;hpb=061fdb168b98f6d4f23bebf5153d51bb3a85611e diff --git a/zones.h b/zones.h index c84897b..8f94ccf 100644 --- 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)