From e3f910f81f7fd29df3c29cd7fdd89905967cfa7e Mon Sep 17 00:00:00 2001 From: Kevin Day Date: Sun, 1 Apr 2012 11:24:46 -0500 Subject: [PATCH] Bugfix: fix problems with #defines Remove an unusued/redundant define. Use correct size length for some string length defines. --- level_3/firewall/c/firewall.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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" -- 1.8.3.1