sgsnemu ignoring Request accepted

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/osmocom-net-gprs@lists.osmocom.org/.

Pau Espin Pedrol pespin at sysmocom.de
Wed Jan 24 15:18:36 UTC 2018


Hi Viktor,

indeed, you found a bug I introduced in osmo-ggsn 
2d6a69e69a4b4cb2b8cc63c4810dae44e5a4d8f6, sorry for that, I didn't 
notice it since I was testing it with osmo-sgsn instead of using sgsnemu.

You patch is fine, but I'd argue it would be more correct to use "< 1" 
for the condition since it now returns the amount of addresses parsed 
(or -1 in case of error). And better add whitespace in the comparison.

Can you please submit the patch to gerrit? Add a reference to its 
description:
Fixes: 2d6a69e69a4b4cb2b8cc63c4810dae44e5a4d8f6 ("Add support for IPv4v6 
End User Addresses")

You can add me as reviewer.

Also please note that sgsnemu doesn't yet support IPv4v6 EUAs as opposed 
to osmo-ggsn. I only added support for it (in the commit introducing the 
bug) because modems in osmo-gsm-tester were using that one and I needed 
to support it in osmo-ggsn to have the tests working. As I never used 
sgsnemu before, I only patched it to account for the changes in libgtp 
but without adding the support for the new feature there.

Regards,

-- 
- Pau Espin Pedrol <pespin at sysmocom.de>         http://www.sysmocom.de/
=======================================================================
* sysmocom - systems for mobile communications GmbH
* Alt-Moabit 93
* 10559 Berlin, Germany
* Sitz / Registered office: Berlin, HRB 134158 B
* Geschaeftsfuehrer / Managing Director: Harald Welte



More information about the osmocom-net-gprs mailing list