diff options
author | Guy Harris <guy@alum.mit.edu> | 2018-10-20 13:36:56 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2018-10-20 21:03:51 +0000 |
commit | 8652762738f1bc4a4b5bac221463bb77718b6531 (patch) | |
tree | 59509a96fc8377553d3e82e23780ad9fa342980e /epan/dissectors/packet-pdcp-lte.c | |
parent | e0401ad15b6b2c0da2ec6cbf96a1dd63b2c278e8 (diff) |
Separate signed and unsigned decimal UAT fields.
Most of them are unsigned; do the appropriate fetching, checking, and
writing-to-UAT-file for them. Have separate macros and routines for the
one signed one, which is the drbid in the LTE MAC dissector.
Use the Wireshark string-to-number routines; they do the appropriate
bounds checking, and make sure unsigned numbers don't start with a -.
Change-Id: I4f137aa31d631c5b5622b2c320574b8ab3333f31
Reviewed-on: https://code.wireshark.org/review/30288
Petri-Dish: Guy Harris <guy@alum.mit.edu>
Tested-by: Petri Dish Buildbot
Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'epan/dissectors/packet-pdcp-lte.c')
-rw-r--r-- | epan/dissectors/packet-pdcp-lte.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-pdcp-lte.c b/epan/dissectors/packet-pdcp-lte.c index 82db99e32e..5eb493133a 100644 --- a/epan/dissectors/packet-pdcp-lte.c +++ b/epan/dissectors/packet-pdcp-lte.c @@ -157,7 +157,7 @@ static expert_field ei_pdcp_lte_missing_udp_framing_tag = EI_INIT; */ /* UAT entry structure. */ typedef struct { - guint16 ueid; + guint32 ueid; gchar *rrcCipherKeyString; gchar *upCipherKeyString; gchar *rrcIntegrityKeyString; |