浏览代码

sctp: if USE_COMP, set comp to none

Andrei Pelinescu-Onciul 17 年之前
父节点
当前提交
a7c9b3d14b
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 3 1
      sctp_server.c

+ 3 - 1
sctp_server.c

@@ -805,7 +805,9 @@ int sctp_rcv_loop()
 						tmp);
 			continue;
 		}
-	
+#ifdef USE_COMP
+		ri.comp=COMP_NONE;
+#endif
 		/* update the local config */
 		cfg_update();
 		receive_msg(buf, len, &ri);