浏览代码

modules/tm: Added PROTO_WS support

Peter Dunkley 13 年之前
父节点
当前提交
d08c4dc334
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      modules/tm/ut.h

+ 2 - 0
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: