diff options
author | Anders Broman <anders.broman@ericsson.com> | 2009-02-05 21:26:40 +0000 |
---|---|---|
committer | Anders Broman <anders.broman@ericsson.com> | 2009-02-05 21:26:40 +0000 |
commit | 4ad0d6f20324e57c09be3fac5b1f008d415c8711 (patch) | |
tree | c7a54e3f667950c0297e61f35700ff753c1962f1 /epan/dissectors/packet-ipvs-syncd.c | |
parent | dce1390edd7adc4099a976cf88a503f386d305b2 (diff) |
From Sven Wegener:
- The size element has been in network byte order since october 2004.
- Someone mixed up the TCP and UDP protocol numbers.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3236
svn path=/trunk/; revision=27383
Diffstat (limited to 'epan/dissectors/packet-ipvs-syncd.c')
-rw-r--r-- | epan/dissectors/packet-ipvs-syncd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/dissectors/packet-ipvs-syncd.c b/epan/dissectors/packet-ipvs-syncd.c index c708c72741..15e9fa1bd1 100644 --- a/epan/dissectors/packet-ipvs-syncd.c +++ b/epan/dissectors/packet-ipvs-syncd.c @@ -63,8 +63,8 @@ static int ett_flags = -1; #define IPVS_SYNCD_PORT 8848 static const value_string proto_strings[] = { - {0x06, "UDP"}, - {0x11, "TCP"}, + {0x06, "TCP"}, + {0x11, "UDP"}, {0x00, NULL}, }; @@ -121,7 +121,7 @@ dissect_ipvs_syncd(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree) proto_tree_add_item(tree, hf_syncid, tvb, offset, 1, FALSE); offset += 1; - proto_tree_add_item(tree, hf_size, tvb, offset, 2, TRUE); + proto_tree_add_item(tree, hf_size, tvb, offset, 2, FALSE); offset += 2; for (conn = 0; conn < cnt; conn++) |