Mercurial > hg > freeDiameter
comparison extensions/rt_ereg/rtereg.c @ 526:6fe3e5cf9fb2
Added a flag to disable NAI routing in RADIUS/Diameter gw
author | Sebastien Decugis <sdecugis@nict.go.jp> |
---|---|
date | Wed, 01 Sep 2010 16:21:15 +0900 |
parents | ecfa089bd29a |
children | 15b59f928383 |
comparison
equal
deleted
inserted
replaced
525:ecfa089bd29a | 526:6fe3e5cf9fb2 |
---|---|
58 /* Does this pattern match the value? */ | 58 /* Does this pattern match the value? */ |
59 struct rtereg_rule * r = &rtereg_conf.rules[i]; | 59 struct rtereg_rule * r = &rtereg_conf.rules[i]; |
60 int err = 0; | 60 int err = 0; |
61 struct fd_list * c; | 61 struct fd_list * c; |
62 | 62 |
63 TRACE_DEBUG(ANNOYING, "Attempt pattern matching of '%.*s' with rule '%s'", len, value, r->pattern); | |
64 | |
63 #ifdef HAVE_REG_STARTEND | 65 #ifdef HAVE_REG_STARTEND |
64 { | 66 { |
65 regmatch_t pmatch[1]; | 67 regmatch_t pmatch[1]; |
66 memset(pmatch, 0, sizeof(pmatch)); | 68 memset(pmatch, 0, sizeof(pmatch)); |
67 pmatch[0].rm_so = 0; | 69 pmatch[0].rm_so = 0; |