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