]> rtime.felk.cvut.cz Git - frescor/fwp.git/commitdiff
Fixes for wclient with FWP.
authorMichal Sojka <sojkam1@fel.cvut.cz>
Tue, 29 Jan 2008 08:15:41 +0000 (09:15 +0100)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Tue, 29 Jan 2008 08:15:41 +0000 (09:15 +0100)
fwp/libfwp/include/fwp_proto.h
fwp/libfwp/src/fwp_ac.c

index f3f124f2841e20c16c8a4796cb2a0c9f35657717..548a1daf6ef09197319f314347605e48ac0328d8 100644 (file)
@@ -4,6 +4,7 @@
 #define FWP_AGENT_UNIXPATH  "fag"
 #define FWP_CLIENT_UNIXPATH "fcl" /*temporarily*/
 
+#include <fwp_contract.h>
 
 int fwp_init();
 
index 4cdcab5da54e865db42948af7aec8e98f24ee7f0..0747182a214c4fd0c9ea101363e505ef56457a18 100644 (file)
@@ -17,8 +17,8 @@ struct fwp_ac {
        
 static struct fwp_ac fwp_ac_table[FWP_AC_NUM];
 
-const int prio_to_ac[8] = {2,3,3,2,1,1,0,0};
-const unsigned int ac_to_tos[4] = {224,160,96,64};
+static const int prio_to_ac[8] = {2,3,3,2,1,1,0,0};
+static const unsigned int ac_to_tos[4] = {224,160,96,64};
 
 void fwp_ac_table_init()
 {