osmo-ggsn[master]: ggsn: encaps_tun: Avoid forwarding packet if EUA is unassign...

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/gerrit-log@lists.osmocom.org/.

Max gerrit-no-reply at lists.osmocom.org
Fri Jan 26 15:16:19 UTC 2018


Patch Set 1: Code-Review-1

(2 comments)

https://gerrit.osmocom.org/#/c/6098/1/ggsn/ggsn.c
File ggsn/ggsn.c:

Line 710:  *  \param[in] v4v6 IP version to select. Valid values are 4 and 6.
Why not use smth like "bool is_ipv6"?


Line 725: 		OSMO_ASSERT(v46==4 || v46==6);
This would eliminate the need for this check for example.


-- 
To view, visit https://gerrit.osmocom.org/6098
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: Ib6d18a64c2b71f3bcf6cb7e3a978d2d3f9c7a79b
Gerrit-PatchSet: 1
Gerrit-Project: osmo-ggsn
Gerrit-Branch: master
Gerrit-Owner: Pau Espin Pedrol <pespin at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Max <msuraev at sysmocom.de>
Gerrit-HasComments: Yes



More information about the gerrit-log mailing list