# HG changeset patch # User Sebastien Decugis # Date 1283309319 -32400 # Node ID 0a51aa1a2842aae4ee8295484baac6bc29004c59 # Parent b793d43e468659746514287cc563332552c657ed Fix parameter parsing, thanks to Souheil for the bug report diff -r b793d43e4686 -r 0a51aa1a2842 extensions/app_radgw/rgw_conf.l --- a/extensions/app_radgw/rgw_conf.l Fri Aug 27 16:26:11 2010 +0900 +++ b/extensions/app_radgw/rgw_conf.l Wed Sep 01 11:48:39 2010 +0900 @@ -198,11 +198,11 @@ /* Servers section */ -(?i:"auth_server_enable") { return AUTH_ENABLE; } +(?i:"auth_server_enable") { BEGIN(EXPECT_DECINT); return AUTH_ENABLE; } (?i:"auth_server_port") { BEGIN(EXPECT_DECINT); return AUTH_PORT; } (?i:"auth_server_ip4") { BEGIN(EXPECT_IP4); return AUTH_IP4; } (?i:"auth_server_ip6") { BEGIN(EXPECT_IP6); return AUTH_IP6; } -(?i:"acct_server_enable") { return ACCT_ENABLE; } +(?i:"acct_server_enable") { BEGIN(EXPECT_DECINT); return ACCT_ENABLE; } (?i:"acct_server_port") { BEGIN(EXPECT_DECINT); return ACCT_PORT; } (?i:"acct_server_ip4") { BEGIN(EXPECT_IP4); return ACCT_IP4; } (?i:"acct_server_ip6") { BEGIN(EXPECT_IP6); return ACCT_IP6; }