aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-udp.h
diff options
context:
space:
mode:
authorJoão Valverde <joao.valverde@tecnico.ulisboa.pt>2015-10-03 23:27:49 +0100
committerAnders Broman <a.broman58@gmail.com>2015-10-07 03:55:43 +0000
commit9fea515efcd025140d018df6d1cf4e3d9ee4f4ac (patch)
tree5246d8b5625c6e12e392158b843caaa08b39ef94 /epan/dissectors/packet-udp.h
parent42f5d862b00a21d211abba4d66dc852deb7e5c38 (diff)
UDP: Refactor some dissector code
Add UDP length as a generated field of UDP-Lite subtree. Change-Id: I35291cc5f5b2a8909a7124cbae8c39fc91d7751d Reviewed-on: https://code.wireshark.org/review/10775 Reviewed-by: Evan Huus <eapache@gmail.com> Petri-Dish: Evan Huus <eapache@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-udp.h')
-rw-r--r--epan/dissectors/packet-udp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-udp.h b/epan/dissectors/packet-udp.h
index 6bffbb190b..79d1af492f 100644
--- a/epan/dissectors/packet-udp.h
+++ b/epan/dissectors/packet-udp.h
@@ -35,7 +35,7 @@ extern "C" {
typedef struct _e_udphdr {
guint16 uh_sport;
guint16 uh_dport;
- guint16 uh_ulen;
+ guint32 uh_ulen;
guint32 uh_sum_cov;
guint16 uh_sum;
guint32 uh_stream; /* this stream index field is included to help differentiate when address/port pairs are reused */