[PATCH 2/2 openggsn] gtp: fix endianness in teid field of GTPv0 header

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/OpenBSC@lists.osmocom.org/.

Holger Hans Peter Freyther holger at freyther.de
Thu Mar 20 21:00:54 UTC 2014


On Thu, Mar 20, 2014 at 03:34:00PM +0100, pablo at gnumonks.org wrote:
> From: Pablo Neira Ayuso <pablo at gnumonks.org>
> 
> This field needs to be in network byte order as well.
> ---
> The problem only shows up if you use sgsn and ggsn with different
> endianess. If no objections, I'll push this to master.

Oh? Did you have a set-up where this actually happened? What do you
think about having macros to "write" and "read" the tid/imsi/nsapi?





More information about the OpenBSC mailing list