aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-gsm_gsup.c
diff options
context:
space:
mode:
authorAlexander Couzens <lynxis@fe80.eu>2018-09-16 02:31:53 +0200
committerAlexis La Goutte <alexis.lagoutte@gmail.com>2018-09-16 11:36:04 +0000
commitcd168a42ba687cb06130813eaebafe76bb970231 (patch)
treec860f7e24d73b05ae12b0d3242569c0309d4684d /epan/dissectors/packet-gsm_gsup.c
parentab741aa6adf053d49c98a59b0518361fffdc75a5 (diff)
gsm-gsup: correct value OSMO_GSUP_CANCEL_TYPE_*
The value has to be reduced by one as the comment already describes. Change-Id: Ib33465e0450f05779856f23800fc3bb1703cbff6 Reviewed-on: https://code.wireshark.org/review/29678 Reviewed-by: Harald Welte <laforge@gnumonks.org> Petri-Dish: Anders Broman <a.broman58@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-gsm_gsup.c')
-rw-r--r--epan/dissectors/packet-gsm_gsup.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-gsm_gsup.c b/epan/dissectors/packet-gsm_gsup.c
index 78c849712c..c6172436da 100644
--- a/epan/dissectors/packet-gsm_gsup.c
+++ b/epan/dissectors/packet-gsm_gsup.c
@@ -127,8 +127,8 @@ enum osmo_gsup_message_type {
#define OSMO_GSUP_TO_MSGT_ERROR(msgt) (((msgt) & 0b11111100) | 0b01)
enum osmo_gsup_cancel_type {
- OSMO_GSUP_CANCEL_TYPE_UPDATE = 1, /* on wire: 0 */
- OSMO_GSUP_CANCEL_TYPE_WITHDRAW = 2, /* on wire: 1 */
+ OSMO_GSUP_CANCEL_TYPE_UPDATE = 0,
+ OSMO_GSUP_CANCEL_TYPE_WITHDRAW = 1,
};
enum osmo_gsup_cn_domain {