[sr-dev] doubt about from_gw() with proto=ANY

Juha Heinanen jh at tutpro.com
Wed Jul 4 13:58:11 CEST 2012


Andrew Pogrebennyk writes:

> The code as shown works for me, however another check may be required
> if transport != PROTO_NONE but value stored in the database is NULL
> (PROTO_ANY). And at a glance do_to_gw function also has this problem.

according to readme, value 0 is db means any.  the code maps also null
db value to 0 (any).

-- juha



More information about the sr-dev mailing list