浏览代码

The anti-foot-shooting mechanism changed to use core flags (scripts flags
did not work properly in this case).

Jan Janak 21 年之前
父节点
当前提交
ef30e43b30
共有 1 个文件被更改,包括 4 次插入2 次删除
  1. 4 2
      parser/msg_parser.h

+ 4 - 2
parser/msg_parser.h

@@ -67,8 +67,10 @@
 enum request_method { METHOD_UNDEF=0, METHOD_INVITE=1, METHOD_CANCEL=2, METHOD_ACK=4, 
 	METHOD_BYE=8, METHOD_OTHER=16 };
 
-#define FL_FORCE_RPORT 1 /* force rport */
-#define FL_FORCE_ACTIVE 2 /* force active SDP */
+#define FL_FORCE_RPORT 1   /* force rport */
+#define FL_FORCE_ACTIVE 2  /* force active SDP */
+#define FL_SDP_IP_AFS 4    /* SDP IP rewritten */
+#define FL_SDP_PORT_AFS 8  /* SDP port rewritten */
 
 
 #define IFISMETHOD(methodname,firstchar)                                  \