Fix encoding of BSSGP_IE_NUM_OCT_AFF in bssgp_tx_llc_discarded()
commitaa5d0e88944fe3258260aedfbce9101301e35b44
authorAndreas Eversberg <jolly@eversberg.eu>
Sat, 21 Jul 2012 11:33:39 +0000 (21 13:33 +0200)
committerHarald Welte <laforge@gnumonks.org>
Sat, 21 Jul 2012 11:33:39 +0000 (21 13:33 +0200)
tree987e13ad3bb4f0d453decd552e0f3b3819fb2e4a
parent007a71e3329aa76bb92701c9eb10743c68c93af9
Fix encoding of BSSGP_IE_NUM_OCT_AFF in bssgp_tx_llc_discarded()

This is a 24bit integer value, and thus we need to encode the three
least significant octets of the network-byte-order 32bit value, not the
three most significant octets.
src/gb/gprs_bssgp_bss.c