Explorar o código

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

Jan Janak %!s(int64=21) %!d(string=hai) anos
pai
achega
ef30e43b30
Modificáronse 1 ficheiros con 4 adicións e 2 borrados
  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, 
 enum request_method { METHOD_UNDEF=0, METHOD_INVITE=1, METHOD_CANCEL=2, METHOD_ACK=4, 
 	METHOD_BYE=8, METHOD_OTHER=16 };
 	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)                                  \
 #define IFISMETHOD(methodname,firstchar)                                  \