commit | aff6aebb5fb416c6c53233abc3813be3a6adf8e6 | [log] [tgz] |
---|---|---|
author | Harald Welte <laforge@gnumonks.org> | Wed Jun 02 23:17:33 2010 +0200 |
committer | Harald Welte <laforge@gnumonks.org> | Wed Jun 02 23:17:33 2010 +0200 |
tree | 243172722eb41e1d58cabe3857fedf307be0cadc | |
parent | cc2279b477d329acb8b3de4c85e4729bda7f8fa0 [diff] |
[GPRS] SGSN: use correct length+data for GSN_ADDRESS We have to copy the sin_addr.s_addr, rather than the entire sin_addr. The latter results in the destination interpreting it as an IPv6 address, as the only differentiator between IPv4 and IPv6 is the size of the payload of this IE.