Q931: do not tap packet if no packet info is present
Follow-up of gd08a53a7b9 Change-Id: Ice15c7cf97c2d84e80e39944012c54947517232f Reviewed-on: https://code.wireshark.org/review/28452 Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com> Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com> Reviewed-by: Tomáš Kukosa <tomas.kukosa@ixperta.com> Tested-by: Petri Dish Buildbot
This commit is contained in:
parent
d2a0167375
commit
328f5cf440
|
@ -3047,7 +3047,9 @@ dissect_q931_IEs(tvbuff_t *tvb, packet_info *pinfo, proto_tree *root_tree,
|
|||
}
|
||||
codeset = locked_codeset;
|
||||
}
|
||||
tap_queue_packet(q931_tap, pinfo, q931_pi);
|
||||
if (q931_pi) {
|
||||
tap_queue_packet(q931_tap, pinfo, q931_pi);
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in New Issue