[OpenSER-Devel] bug in gflags openser 1.2.2?

Piotr Sobolewski sobolewski at gmail.com
Mon Nov 5 17:06:52 UTC 2007


HI

I might be wrong but It looks that gflags module in1.2.X is not
working correctly.
When i start openser and run

openserctl fifo get_stats
0x0
0

and  then
openserctl fifo set_gflag 1
nothing is shown

 openserctl fifo get_gflags
0x1
1

Same operations performed on 1.1.1

openserctl fifo get_gflags
200 OK
0x0
0

openserctl fifo set_gflag 1
200 OK

 openserctl fifo get_gflags
200 OK
0x2
2

On 1.2.2 when I set up

openserctl fifo set_gflag 10

 openserctl fifo get_gflags
0xA
10

openserctl fifo is_gflag 10
TRUE

openserctl fifo is_gflag 1
FALSE
openserctl fifo is_gflag 2
TRUE
openserctl fifo is_gflag 3
TRUE
openserctl fifo is_gflag 4
FALSE
openserctl fifo is_gflag 5
FALSE
openserctl fifo is_gflag 6
TRUE
openserctl fifo is_gflag 7
TRUE
openserctl fifo is_gflag 8
TRUE
openserctl fifo is_gflag 9
TRUE
openserctl fifo is_gflag 10
TRUE
openserctl fifo is_gflag 11
TRUE
openserctl fifo is_gflag 12
TRUE
openserctl fifo is_gflag 13
TRUE
openserctl fifo is_gflag 14
TRUE
openserctl fifo is_gflag 15
TRUE
openserctl fifo is_gflag 16
FALSE

So by seting gflag 10 other get's setup too.

In version 1.1.1 gflags module wroks just fine.


--
Piotr Sobolewski
sobolewski at gmail.com



More information about the Devel mailing list