]> git.ipfire.org Git - thirdparty/asterisk.git/commit
cel/cel_radius: Fix wrong pointer. 22/1922/1
authorAaron An <anjb@ti-net.com.cn>
Mon, 4 Jan 2016 10:26:55 +0000 (18:26 +0800)
committerJoshua Colp <jcolp@digium.com>
Wed, 6 Jan 2016 12:07:58 +0000 (06:07 -0600)
commit2b0747817f2e85e8b9d973fc3cf2c1110595c43a
treefa4c6e74b1f7b900f11b11eb2b953264b0009732
parent6bbb59e34884da5b610c5233a6d949ecb4e240d4
cel/cel_radius: Fix wrong pointer.

The macro ADD_VENDOR_CODE defined in the cel_radius.c should use the parameter
y not the address of y.

I capture the radius UDP packet via tcpdump, and the AV pairs are not correct,
then i review the source code and compare it with cdr/cdr_radius.c. Fix it and
 it works.

ASTERISK-25647 #close
Reported by: Aaron An
Tested by: Aaron An

Change-Id: I72889bccd8fde120d47aa659edc0e7e6d4d019f0
cel/cel_radius.c