]> rtime.felk.cvut.cz Git - frescor/fwp.git/commitdiff
Fix VRES flag values
authorMichal Sojka <sojkam1@fel.cvut.cz>
Thu, 13 Aug 2009 13:10:09 +0000 (15:10 +0200)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Thu, 13 Aug 2009 13:10:09 +0000 (15:10 +0200)
VRES flags are treated as bit numbers but was incorrectly defined as bit
masks.

fwp/lib/fwp/fwp_vres.c

index 94de6ffb77ba163d2a477ed530495e42dab86edc..1bed4c9c5c94ed20b3ae8bbf00396ffdd7c70ff0 100644 (file)
@@ -57,9 +57,9 @@
 static void* fwp_vres_tx_thread(void *_vres);
 
 typedef enum {
-       FWP_VF_USED             = ,
-       FWP_VF_BOUND            = ,
-       FWP_VF_RESCHED          = ,
+       FWP_VF_USED             = 0,
+       FWP_VF_BOUND            = 1,
+       FWP_VF_RESCHED          = 2,
 } fwp_vres_flag_t;
 
 fwp_vres_params_t fwp_vres_params_default = {