|
@@ -525,7 +525,7 @@ int w_allow_source_address(struct sip_msg* _msg, char* _addr_group, char* _str2)
|
|
|
* subnet table in any group. If yes, returns that group. If not returns -1.
|
|
|
* Port value 0 in cached address and group table matches any port.
|
|
|
*/
|
|
|
-int allow_source_address_group(struct sip_msg* _msg, char* _str1, char* _str2)
|
|
|
+int ki_allow_source_address_group(sip_msg_t* _msg)
|
|
|
{
|
|
|
int group = -1;
|
|
|
|
|
@@ -550,6 +550,16 @@ int allow_source_address_group(struct sip_msg* _msg, char* _str1, char* _str2)
|
|
|
|
|
|
}
|
|
|
|
|
|
+/*
|
|
|
+ * Checks if source address/port is found in cached address or
|
|
|
+ * subnet table in any group. If yes, returns that group. If not returns -1.
|
|
|
+ * Port value 0 in cached address and group table matches any port.
|
|
|
+ */
|
|
|
+int allow_source_address_group(struct sip_msg* _msg, char* _str1, char* _str2)
|
|
|
+{
|
|
|
+ return ki_allow_source_address_group(_msg);
|
|
|
+}
|
|
|
+
|
|
|
/*
|
|
|
* Checks if address/port is found in cached address or
|
|
|
* subnet table in any group. If yes, returns that group. If not returns -1.
|