diff options
author | Stefan Doehla <stefan.doehla@iis.fraunhofer.de> | 2014-04-27 14:21:28 +0200 |
---|---|---|
committer | Pascal Quantin <pascal.quantin@gmail.com> | 2014-04-27 12:39:37 +0000 |
commit | ff854bc6500159fbd3ccd48233c3fa8db4b31a9f (patch) | |
tree | dd90c2303c573d8db7ec92f8ae0da172391f0dc1 /epan/dissectors/packet-sap.c | |
parent | f8e8c85f99800159d10353143d3439e7ab090c16 (diff) |
SAP: fix dissection of Originating Source address
Regression introduced in commit c131f9a0745f6307a5c910d8486eb9a37a05935c
Bug: 10029
Change-Id: Ia99ca36216dd26e41f926cc67e52827e665c40eb
Reviewed-on: https://code.wireshark.org/review/1383
Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-sap.c')
-rw-r--r-- | epan/dissectors/packet-sap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-sap.c b/epan/dissectors/packet-sap.c index ece4e9accc..b8e7153c6c 100644 --- a/epan/dissectors/packet-sap.c +++ b/epan/dissectors/packet-sap.c @@ -168,9 +168,9 @@ dissect_sap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) offset +=2; if (is_ipv6) - proto_tree_add_item(sap_tree, hf_sap_originating_source_ipv4, tvb, offset, addr_len, ENC_BIG_ENDIAN); - else proto_tree_add_item(sap_tree, hf_sap_originating_source_ipv6, tvb, offset, addr_len, ENC_NA); + else + proto_tree_add_item(sap_tree, hf_sap_originating_source_ipv4, tvb, offset, addr_len, ENC_BIG_ENDIAN); offset += addr_len; /* Authentication data lives in its own subtree */ |