# HG changeset patch # User Sebastien Decugis # Date 1273473917 -32400 # Node ID d4c9fb55ca3ac806925610c946ebe5b871013b0b # Parent 0e940240c436785ebcbf11233676abd0e19656ce The STR is not sent to the Accounting server, so remove the Destination-Host diff -r 0e940240c436 -r d4c9fb55ca3a extensions/app_radgw/rgwx_acct.c --- a/extensions/app_radgw/rgwx_acct.c Mon May 10 15:08:32 2010 +0900 +++ b/extensions/app_radgw/rgwx_acct.c Mon May 10 15:45:17 2010 +0900 @@ -1215,11 +1215,6 @@ CHECK_FCT( fd_msg_avp_setvalue ( avp, or->avp_value ) ); CHECK_FCT( fd_msg_avp_add ( str, MSG_BRW_LAST_CHILD, avp) ); - /* Add the Destination-Host as next AVP */ - CHECK_FCT( fd_msg_avp_new ( cs->dict.Destination_Host, 0, &avp ) ); - CHECK_FCT( fd_msg_avp_setvalue ( avp, oh->avp_value ) ); - CHECK_FCT( fd_msg_avp_add ( str, MSG_BRW_LAST_CHILD, avp) ); - /* Get information on the NAS */ CHECK_FCT( rgw_clients_get_origin(cli, &fqdn, &realm) );