]> Kevux Git Server - fll/commitdiff
Bugfix: fix problems with #defines
authorKevin Day <kevin@kevux.org>
Sun, 1 Apr 2012 16:24:46 +0000 (11:24 -0500)
committerKevin Day <kevin@kevux.org>
Sun, 1 Apr 2012 16:24:46 +0000 (11:24 -0500)
Remove an unusued/redundant define.
Use correct size length for some string length defines.

level_3/firewall/c/firewall.h

index a06ab4a97df9f3f42e2332590835395509cc0ba1..296cd90455fa456c7487e0e3938e60d73ed392ba 100644 (file)
@@ -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"