From: Kevin Day Date: Sun, 1 Apr 2012 16:24:46 +0000 (-0500) Subject: Bugfix: fix problems with #defines X-Git-Tag: 0.3.0~29 X-Git-Url: https://git.kevux.org/?a=commitdiff_plain;h=e3f910f81f7fd29df3c29cd7fdd89905967cfa7e;p=fll Bugfix: fix problems with #defines Remove an unusued/redundant define. Use correct size length for some string length defines. --- diff --git a/level_3/firewall/c/firewall.h b/level_3/firewall/c/firewall.h index a06ab4a..296cd90 100644 --- a/level_3/firewall/c/firewall.h +++ b/level_3/firewall/c/firewall.h @@ -64,7 +64,6 @@ extern "C"{ #define network_devices_length 15 #define firewall_file_default_length 16 #define firewall_file_suffix_length 9 - #define firewall_program_length 8 #define firewall_program_name_length 8 #endif // _di_firewall_paths_ @@ -147,8 +146,8 @@ extern "C"{ #define firewall_direction_input_command_length 5 #define firewall_direction_output_command_length 6 #define firewall_direction_forward_command_length 7 - #define firewall_direction_postrouting_command_length 12 - #define firewall_direction_prerouting_command_length 11 + #define firewall_direction_postrouting_command_length 11 + #define firewall_direction_prerouting_command_length 10 #define firewall_action "action" #define firewall_action_append "append"