Mercurial > hg > freeDiameter
comparison extensions/app_radgw/rgw_conf.l @ 522:0a51aa1a2842
Fix parameter parsing, thanks to Souheil for the bug report
author | Sebastien Decugis <sdecugis@nict.go.jp> |
---|---|
date | Wed, 01 Sep 2010 11:48:39 +0900 |
parents | 1c2f5ee38039 |
children | 4a9f08d6b6ba |
comparison
equal
deleted
inserted
replaced
521:b793d43e4686 | 522:0a51aa1a2842 |
---|---|
196 | 196 |
197 <IN_CLI1>"/" { BEGIN(IN_CLI2); return '/'; } | 197 <IN_CLI1>"/" { BEGIN(IN_CLI2); return '/'; } |
198 | 198 |
199 | 199 |
200 /* Servers section */ | 200 /* Servers section */ |
201 (?i:"auth_server_enable") { return AUTH_ENABLE; } | 201 (?i:"auth_server_enable") { BEGIN(EXPECT_DECINT); return AUTH_ENABLE; } |
202 (?i:"auth_server_port") { BEGIN(EXPECT_DECINT); return AUTH_PORT; } | 202 (?i:"auth_server_port") { BEGIN(EXPECT_DECINT); return AUTH_PORT; } |
203 (?i:"auth_server_ip4") { BEGIN(EXPECT_IP4); return AUTH_IP4; } | 203 (?i:"auth_server_ip4") { BEGIN(EXPECT_IP4); return AUTH_IP4; } |
204 (?i:"auth_server_ip6") { BEGIN(EXPECT_IP6); return AUTH_IP6; } | 204 (?i:"auth_server_ip6") { BEGIN(EXPECT_IP6); return AUTH_IP6; } |
205 (?i:"acct_server_enable") { return ACCT_ENABLE; } | 205 (?i:"acct_server_enable") { BEGIN(EXPECT_DECINT); return ACCT_ENABLE; } |
206 (?i:"acct_server_port") { BEGIN(EXPECT_DECINT); return ACCT_PORT; } | 206 (?i:"acct_server_port") { BEGIN(EXPECT_DECINT); return ACCT_PORT; } |
207 (?i:"acct_server_ip4") { BEGIN(EXPECT_IP4); return ACCT_IP4; } | 207 (?i:"acct_server_ip4") { BEGIN(EXPECT_IP4); return ACCT_IP4; } |
208 (?i:"acct_server_ip6") { BEGIN(EXPECT_IP6); return ACCT_IP6; } | 208 (?i:"acct_server_ip6") { BEGIN(EXPECT_IP6); return ACCT_IP6; } |
209 | 209 |
210 <EXPECT_DECINT>[[:digit:]]+ { | 210 <EXPECT_DECINT>[[:digit:]]+ { |