Module: sip-router Branch: pd/websocket Commit: d08c4dc3341d2f2ac497a81fed9aef522ce16ed9 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=d08c4dc3...
Author: Peter Dunkley peter.dunkley@crocodile-rcs.com Committer: Peter Dunkley peter.dunkley@crocodile-rcs.com Date: Fri Jun 29 17:46:36 2012 +0100
modules/tm: Added PROTO_WS support
---
modules/tm/ut.h | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/modules/tm/ut.h b/modules/tm/ut.h index 3aa829a..3a9f1f2 100644 --- a/modules/tm/ut.h +++ b/modules/tm/ut.h @@ -83,6 +83,7 @@ inline static enum sip_protos get_proto(enum sip_protos force_proto, case PROTO_UDP:/* transport specified explicitly */ #ifdef USE_TCP case PROTO_TCP: + case PROTO_WS: #endif #ifdef USE_TLS case PROTO_TLS: @@ -99,6 +100,7 @@ inline static enum sip_protos get_proto(enum sip_protos force_proto, case PROTO_UDP: /* some protocol has been forced -- take it */ #ifdef USE_TCP case PROTO_TCP: + case PROTO_WS: #endif #ifdef USE_TLS case PROTO_TLS: