mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-14 01:49:05 +00:00
accept asterisk N/X/Z/. notation everywhere regexes are expected when they start with _
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13287 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -565,9 +565,9 @@ SWITCH_DECLARE(switch_bool_t) switch_is_lan_addr(const char *ip)
|
||||
)? SWITCH_FALSE : SWITCH_TRUE;
|
||||
}
|
||||
|
||||
SWITCH_DECLARE(switch_bool_t) switch_ast2regex(char *pat, char *rbuf, size_t len)
|
||||
SWITCH_DECLARE(switch_bool_t) switch_ast2regex(const char *pat, char *rbuf, size_t len)
|
||||
{
|
||||
char *p = pat;
|
||||
const char *p = pat;
|
||||
|
||||
if (!pat) {
|
||||
return SWITCH_FALSE;
|
||||
|
Reference in New Issue
Block a user