various modules: don't access route_type directly
authorAndrei Pelinescu-Onciul <andrei@iptel.org>
Mon, 22 Feb 2010 18:45:14 +0000 (19:45 +0100)
committerAndrei Pelinescu-Onciul <andrei@iptel.org>
Mon, 22 Feb 2010 18:45:14 +0000 (19:45 +0100)
commitd06c0f78f327134d37b5be68af8c88f595ef1238
tree62f250ad14f6535e0e130b3ae2ebe25c79fa8960
parent5a620b105b62e48631e9248906e00b4b2c7b4081
various modules: don't access route_type directly

route_type should be accessed only through get_route_type() or
is_route_type(FOO).
Replaced all the route_type==FOO_ROUTE with
is_route_type(FOO_ROUTE).
modules/dialplan/dialplan.c
modules/lcr/lcr_mod.c
modules_k/dialog/dlg_profile.c
modules_k/dispatcher/dispatch.c
modules_k/domain/domain.c
modules_k/domainpolicy/domainpolicy.c
modules_k/registrar/save.c