gtp: update values used as accepted cause in session tracking
v1: TS 29.060 7.3.2: A PDP context has not been created in the GGSN if the Cause differs from "Request accepted", "New PDP type due to network preference" or "New PDP type due to single address bearer only" v2: TS 29.274 8.4: Acceptance in a Response / triggered message: "Request accepted", "Request accepted partially", "New PDN type due to network preference" and "New PDN type due to single address bearer only" Change-Id: I8d3b2fc3c35e4a3e3d281cf0e5c97f084616a05d Reviewed-on: https://code.wireshark.org/review/27093 Petri-Dish: Anders Broman <a.broman58@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
This commit is contained in:
parent
5994c902b4
commit
167a6e03b2
|
@ -2038,10 +2038,10 @@ fill_map(wmem_list_t *teid_list, wmem_list_t *ip_list, guint32 frame) {
|
|||
gboolean
|
||||
is_cause_accepted(guint8 cause, guint32 version) {
|
||||
if (version == 1) {
|
||||
return cause == 128;
|
||||
return cause == 128 || cause == 129 || cause == 130;
|
||||
}
|
||||
else if (version == 2) {
|
||||
return cause == 16;
|
||||
return cause == 16 || cause == 17 || cause == 18 || cause == 19;
|
||||
}
|
||||
return FALSE;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue