Navigation


Changeset 522:0a51aa1a2842 in freeDiameter


Ignore:
Timestamp:
Sep 1, 2010, 11:48:39 AM (14 years ago)
Author:
Sebastien Decugis <sdecugis@nict.go.jp>
Branch:
default
Phase:
public
Message:

Fix parameter parsing, thanks to Souheil for the bug report

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/app_radgw/rgw_conf.l

    r516 r522  
    199199
    200200        /* Servers section */
    201 (?i:"auth_server_enable")       { return AUTH_ENABLE;                           }
     201(?i:"auth_server_enable")       { BEGIN(EXPECT_DECINT); return AUTH_ENABLE;     }
    202202(?i:"auth_server_port")         { BEGIN(EXPECT_DECINT); return AUTH_PORT;       }
    203203(?i:"auth_server_ip4")          { BEGIN(EXPECT_IP4); return AUTH_IP4;           }
    204204(?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;     }
    206206(?i:"acct_server_port")         { BEGIN(EXPECT_DECINT); return ACCT_PORT;       }
    207207(?i:"acct_server_ip4")          { BEGIN(EXPECT_IP4); return ACCT_IP4;           }
Note: See TracChangeset for help on using the changeset viewer.