aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-6lowpan.c
AgeCommit message (Collapse)AuthorFilesLines
2020-06-19Fix the type of arrays of pointers to hf_ values for bitfield routines.Guy Harris1-3/+3
The static arrays are supposed to be arrays of const pointers to int, not arrays of non-const pointers to const int. Fixing that means some bugs (scribbling on what's *supposed* to be a const array) will be caught (see packet-ieee80211-radiotap.c for examples, the first of which inspired this change and the second of which was discovered while testing compiles with this change), and removes the need for some annoying casts. Also make some of those arrays static while we're at it. Update documentation and dissector-generator tools. Change-Id: I789da5fc60aadc15797cefecfd9a9fbe9a130ccc Reviewed-on: https://code.wireshark.org/review/37517 Petri-Dish: Guy Harris <gharris@sonic.net> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-07-26HTTPS (almost) everywhere.Guy Harris1-1/+1
Change all wireshark.org URLs to use https. Fix some broken links while we're at it. Change-Id: I161bf8eeca43b8027605acea666032da86f5ea1c Reviewed-on: https://code.wireshark.org/review/34089 Reviewed-by: Guy Harris <guy@alum.mit.edu>
2019-04-08Add 6LoWPAN Selective Fragment RecoveryJames Ko1-26/+262
Reassemble fragments with RFRAG Dispatch type and header. Change-Id: Ifa30289069fda13fadc090fa5b78c0fcbfbae39e Reviewed-on: https://code.wireshark.org/review/32594 Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Peter Wu <peter@lekensteyn.nl> Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-04-04epan: Convert our PROTO_ITEM_ macros to inline functions.Gerald Combs1-7/+7
Convert our various PROTO_ITEM_ macros to inline functions and document them. Change-Id: I070b15d4f70d2189217a177ee8ba2740be36327c Reviewed-on: https://code.wireshark.org/review/32706 Reviewed-by: Gerald Combs <gerald@wireshark.org> Petri-Dish: Gerald Combs <gerald@wireshark.org> Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-01-026lowpan: don't try to use (new) TVB that wasn't created.Jeff Morriss1-1/+2
If the IPHC TVB wasn't created then bail out of dissection before trying to use it. Bug: 15217 Change-Id: I6e297590cdf86e13b0185f75f1d409888f2498d8 Reviewed-on: https://code.wireshark.org/review/31308 Petri-Dish: Jeff Morriss <jeff.morriss.ws@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Michael Mann <mmann78@netscape.net>
2018-11-076lowpan: fix handling of UDP packets without payloadRobert Sauter1-5/+5
Replace all calls of tvb_ensure_captured_length_remaining with tvb_ensure_length_remaining as they are only used to ensure that already read data is present and it is not always required that at least 1 more byte follows. Change-Id: I71b1142c0d8f8fe3ddb09b80b6ca8ed10e0b67b6 Reviewed-on: https://code.wireshark.org/review/30517 Petri-Dish: Stig Bjørlykke <stig@bjorlykke.org> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
2018-10-186lowpan: Show IPv6 summary line in treeStig Bjørlykke1-4/+22
Add a preference to show IPv6 summary line in the protocol tree. Mark source and destination as generated when length is 0. Change-Id: I1c1befed100e92de38006f1e4ce65bf19c14a32b Reviewed-on: https://code.wireshark.org/review/30230 Petri-Dish: Stig Bjørlykke <stig@bjorlykke.org> Tested-by: Petri Dish Buildbot Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org>
2018-05-266LoRH: fix in IP-in-IP header dissectortchang1-4/+2
Change-Id: Iaba22d9b431a097eea4bb0dbea3c514a607ef001 Reviewed-on: https://code.wireshark.org/review/27805 Petri-Dish: Anders Broman <a.broman58@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
2018-05-246lowpan: fix reassembly for forwarded packetsPeter Wu1-2/+43
With 6LoWPAN mesh routing over 802.15.4 networks, the same packet will be forwarded over different links. Such duplicate datagram tags will result in collisions (wrong "Reasssembled in" and reassembly failure). Incorporate the link-layer address to differentiate fragments in forwarded packets, in addition to the datagram tag. Bug: 14700 Change-Id: I8e4adae54b3e903cfcd74844c6bbe0ecf17eefda Reviewed-on: https://code.wireshark.org/review/27761 Petri-Dish: Peter Wu <peter@lekensteyn.nl> Reviewed-by: Eduardo Montoya Marín <emontoya@kirale.com> Tested-by: Petri Dish Buildbot Reviewed-by: Robert Sauter <sauter@locoslab.com> Reviewed-by: Anders Broman <a.broman58@gmail.com>
2018-03-186lowpan: Add option to toggle IID U/L bitStig Bjørlykke1-1/+9
RFC 7668 section 3.2.2 states that IID formed from the 48-bit Bluetooth device addresses does not toggle the Universal/Local bit, but Linux kernel BT IPSP code before version 4.12 does toggle this bit. Add an option to turn this on when needed. Change-Id: I77f84a5d56e77bb2c61770237fe53367498cc194 Reviewed-on: https://code.wireshark.org/review/26533 Petri-Dish: Stig Bjørlykke <stig@bjorlykke.org> Tested-by: Petri Dish Buildbot Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org>
2018-03-046LoWPAN: fix cast-qual warningRobert Sauter1-5/+5
Change-Id: I688c2052b2e242664d31d995583330715ace37cd Reviewed-on: https://code.wireshark.org/review/26261 Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com> Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Guy Harris <guy@alum.mit.edu>
2018-02-286LoWPAN: Less scary display if UDP checksum is elidedRobert Sauter1-3/+5
Set the 'recomputed' checksum to 0xffff instead of 0 so that the UDP dissector does not show an 'Illegal Checksum value (0)' PI_ERROR. Bug 14458 Change-Id: I0fba0979be5a5b2957a7cec98c0df7996491d3b5 Reviewed-on: https://code.wireshark.org/review/26052 Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org>
2018-02-276lowpan: Use correct offset for "UDP header compression" headerStig Bjørlykke1-1/+1
Change-Id: I900dce329a593e55b894faf3e41071893ed91c46 Reviewed-on: https://code.wireshark.org/review/26147 Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org>
2018-02-186LoWPAN: break loop in case of unexpected loRHE typePascal Quantin1-0/+6
Bug: 14422 Change-Id: I5875dd63282ff645e78a4b0cf5f34ea746ec7dfd Reviewed-on: https://code.wireshark.org/review/25852 Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com> Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Michael Mann <mmann78@netscape.net>
2018-02-12dissectors: use SPDX identifiers.Dario Lombardo1-13/+1
Change-Id: I92c94448e6641716d03158a5f332c8b53709423a Reviewed-on: https://code.wireshark.org/review/25756 Petri-Dish: Dario Lombardo <lomato@gmail.com> Reviewed-by: Anders Broman <a.broman58@gmail.com>
2017-12-166LowPAN: always build IPv6 address whatever the tree statePascal Quantin1-117/+115
Bug: 14277 Change-Id: I320def755076ef8c52d4e5e0dbedf06ea88f25a7 Reviewed-on: https://code.wireshark.org/review/24848 Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com> Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Michael Mann <mmann78@netscape.net>
2017-10-26Add a ws_in6_addr typedef for struct e_in6_addr.Guy Harris1-8/+8
That allows a parallel typedef of ws_in4_addr for guint32. Change-Id: I03b230247065e0e3840eb87635315a8e523ef562 Reviewed-on: https://code.wireshark.org/review/24073 Reviewed-by: Guy Harris <guy@alum.mit.edu>
2017-09-196lowpan: Create ifcid from AT_ETHERStig Bjørlykke1-0/+40
This will reassemble source and destination addresses from Bluetooth and Bluetooth LE. Change-Id: I563ef7b411488a2ba99fe2284eca0445208cf7e1 Reviewed-on: https://code.wireshark.org/review/23618 Petri-Dish: Stig Bjørlykke <stig@bjorlykke.org> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Anders Broman <a.broman58@gmail.com>
2017-09-02Have a single IPv6 tapJoão Valverde1-1/+1
Optimize code and open possibility for enriching IPv6 tap data. Change-Id: I5a204d7464cde32123d5bfe664cc9b6bcf08dbe1 Reviewed-on: https://code.wireshark.org/review/23340 Petri-Dish: João Valverde <j@v6e.pt> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: João Valverde <j@v6e.pt>
2017-07-11Ethertype: Add 6LoWPAN Ethertype; register dissectorRobert Sauter1-0/+4
Change-Id: I3ba09b8ebc696b83531b998fcc3a0f521d86df41 Reviewed-on: https://code.wireshark.org/review/22581 Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com> Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Anders Broman <a.broman58@gmail.com>
2017-07-086LoWPAN: added dissection for 6LoRH. (RFC8138, RFC8025)Jonathan Munoz1-1/+386
Change-Id: I13396077ec7f3ec4fe9cfea9b3bd03305a5ee332 Reviewed-on: https://code.wireshark.org/review/22484 Reviewed-by: Michael Mann <mmann78@netscape.net>
2017-05-17Use proto_tree_add_item instead of proto_tree_add_xxx.Michael Mann1-1/+1
It's a little more efficient to use proto_tree_add_item, than proto_tree_add_xxx, passing it the returned tvb_get_xxx value. Change-Id: I22ddd7ab36e1ee5aae78fc693d7dbac4b4f802f2 Reviewed-on: https://code.wireshark.org/review/21691 Petri-Dish: Anders Broman <a.broman58@gmail.com> Reviewed-by: Anders Broman <a.broman58@gmail.com>
2017-01-29Register reassembly tablesMichael Mann1-12/+3
Register all reassembly tables with a central unit, allowing the central unit to have the callback that initializes and destroys the reassembly tables, rather than have dissectors do it individually. Change-Id: Ic92619c06fb5ba6f1c3012f613cae14982e101d4 Reviewed-on: https://code.wireshark.org/review/19834 Petri-Dish: Michael Mann <mmann78@netscape.net> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Michael Mann <mmann78@netscape.net>
2017-01-206lowpan: add shutdown routine.Dario Lombardo1-0/+7
Change-Id: I1e324f9d7fdf4d96d8d9d53cbf1932458a2ea1a5 Reviewed-on: https://code.wireshark.org/review/19703 Reviewed-by: Michael Mann <mmann78@netscape.net>
2016-12-166LoWPAN: Make UDP NHC port endianness code cleanerJoão Valverde1-12/+13
Change-Id: I7abb29a8368a91d113038bc878aaf47ed58360bb Reviewed-on: https://code.wireshark.org/review/19298 Petri-Dish: João Valverde <j@v6e.pt> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: João Valverde <j@v6e.pt>
2016-12-166LoWPAN: Display UDP NHC port encoding field as 2-bitJoão Valverde1-30/+41
Reference: RFC 6282 Section 4.3.3 Change-Id: I8ff46452d80b1aba4545967bc05310c341f6e174 Reviewed-on: https://code.wireshark.org/review/19297 Reviewed-by: João Valverde <j@v6e.pt>
2016-12-166LoWPAN: bugfix in extracting in-line UDP checksum of IPHCYasuyuki Tanaka1-1/+1
Bug: 13233 Change-Id: Ie697d5a2d8a604bf3348f690d78ada4f9f0b1b89 Reviewed-on: https://code.wireshark.org/review/19208 Petri-Dish: João Valverde <j@v6e.pt> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: João Valverde <j@v6e.pt>
2016-11-056LoWPAN: Use correct full nameStig Bjørlykke1-1/+1
6LoWPAN is not only used over IEEE 802.15.4, so adjust the full name. Change-Id: I56305baa74c0cc9337dfd5e813965035fd7dcec6 Reviewed-on: https://code.wireshark.org/review/18677 Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org>
2016-09-226LowPAN: initialize interface identifier even when no data-link source is foundPascal Quantin1-0/+2
Bug: 12939 Change-Id: Ib4e8adbff3e335e602da5e6857bfc801601fd25e Reviewed-on: https://code.wireshark.org/review/17871 Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com> Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Michael Mann <mmann78@netscape.net>
2016-07-30Move IPv6 inet definitions to wsutil/inet_ipv6.hJoão Valverde1-87/+87
Change-Id: I880adf7fc1e131639f318cdecf7d8e59262d89fb Reviewed-on: https://code.wireshark.org/review/16784 Petri-Dish: João Valverde <j@v6e.pt> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: João Valverde <j@v6e.pt>
2016-07-21Add proto_tree_add_checksum.Michael Mann1-2/+1
This is an attempt to standardize display/handling of checksum fields for all dissectors. The main target is for dissectors that do validation, but dissectors that just report the checksum were also included just to make them easier to find in the future. Bug: 10620 Bug: 12058 Ping-Bug: 8859 Change-Id: Ia8abd86e42eaf8ed50de6b173409e914b17993bf Reviewed-on: https://code.wireshark.org/review/16380 Petri-Dish: Michael Mann <mmann78@netscape.net> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Jeff Morriss <jeff.morriss.ws@gmail.com> Reviewed-by: Michael Mann <mmann78@netscape.net>
2016-07-18IPv6: Remove union from struct ip6_hdrJoão Valverde1-30/+32
The field macros are a particularly obnoxious form of namespace pollution. Change-Id: I9010a767625fd1c4b4a48c9d75481c577915fce6 Reviewed-on: https://code.wireshark.org/review/16520 Petri-Dish: João Valverde <j@v6e.pt> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: João Valverde <j@v6e.pt>
2016-07-12packet-6lowpan.c: fix uninitialized variable (ipv6_ext) warningMichael Mann1-1/+1
Change-Id: I8182bc9452cbd1201c81407041b6b522434f5ec0 Reviewed-on: https://code.wireshark.org/review/16394 Reviewed-by: Michael Mann <mmann78@netscape.net>
2016-05-176lowpan - Eliminate tvb_get_ptrMichael Mann1-14/+16
Change-Id: I6a8ea98cf0f4a2172e73fc4dcad67f2dbf8d5be3 Reviewed-on: https://code.wireshark.org/review/15471 Reviewed-by: Anders Broman <a.broman58@gmail.com> Petri-Dish: Anders Broman <a.broman58@gmail.com> Reviewed-by: Michael Mann <mmann78@netscape.net>
2016-04-136lowpan: change malloc to wmem_alloc.Dario Lombardo1-9/+6
Change-Id: Iae9c52571457baccdce9ae0586ee223a08ec7597 Reviewed-on: https://code.wireshark.org/review/14890 Reviewed-by: Michael Mann <mmann78@netscape.net>
2016-03-31Correct 6LoWPAN NHC datagram size calculationsKevin Bracey1-2/+2
Length calculations updating "remaining datagram size" for fragmented 6LoWPAN packets with NHC headers were incorrect if there was any elided option padding. The current header's unpadded length was subtracted from dgram_size, when it should have been the padded length - the datagram size is uncompressed IPv6. This meant the final nhdr_list entry created to represent the remaining payload would have its "reported" field too large. Most visible result of this was that the IPv6 payload length written into the packet by lowpan_reassemble_ipv6() was too large. Error probably went unnoticed because the most typical 6LoWPAN options don't need padding - the RPL option is 6 bytes, and the MPL option is 6 bytes if using 16-bit seeds, making the HbH extension header an aligned 8 bytes. Bug: 12310 Change-Id: If94e9ca57f88c4ac41f002a689ce1da7097b5bd0 Reviewed-on: https://code.wireshark.org/review/14701 Reviewed-by: Michael Mann <mmann78@netscape.net>
2016-03-20Create call_data_dissector() to call data dissector.Michael Mann1-8/+6
This saves many dissectors the need to find the data dissector and store a handle to it. There were also some that were finding it, but not using it. For others this was the only reason for their handoff function, so it could be eliminated. Change-Id: I5d3f951ee1daa3d30c060d21bd12bbc881a8027b Reviewed-on: https://code.wireshark.org/review/14530 Petri-Dish: Michael Mann <mmann78@netscape.net> Reviewed-by: Michael Mann <mmann78@netscape.net>
2016-03-20Manually add protocol dependencies derived from find_dissector.Michael Mann1-1/+1
Started by grepping call_dissector_with_data, call_dissector_only and call_dissector and traced the handles passed into them to a find_dissector within the dissector. Then replaced find_dissector with find_dissector_add_dependency and added the protocol id from the dissector. "data" dissector was not considered to be a dependency. Change-Id: I15d0d77301306587ef8e7af5876e74231816890d Reviewed-on: https://code.wireshark.org/review/14509 Petri-Dish: Michael Mann <mmann78@netscape.net> Reviewed-by: Michael Mann <mmann78@netscape.net>
2016-03-186lowpan: proto_tree_add_item() can be used directly for an FT_UINT64Martin Kaiser1-5/+4
Change-Id: I3f43fc9b0951822dd2ec3aba85af993e20c549d3 Reviewed-on: https://code.wireshark.org/review/14515 Reviewed-by: João Valverde <j@v6e.pt> Petri-Dish: João Valverde <j@v6e.pt> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
2016-03-186lowpan: remove a ton of if (tree) checksMartin Kaiser1-172/+109
Change-Id: Idff3eda741e62bfe5b00f30760bcc8af0e8e5df5 Reviewed-on: https://code.wireshark.org/review/14514 Reviewed-by: Martin Kaiser <wireshark@kaiser.cx>
2016-02-06Bluetooth/6lowpan: Add missing handle for L2CAP CIDMichal Labedzki1-0/+1
Change-Id: I0a9e405069250cf37e38a0e4b1e9645997f80409 Reviewed-on: https://code.wireshark.org/review/13736 Petri-Dish: Michal Labedzki <michal.labedzki@tieto.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Michal Labedzki <michal.labedzki@tieto.com>
2016-01-25Move the proto data stuff out of frame_data.[ch].Guy Harris1-0/+1
It's not tied to the frame_data structure any more, so it belongs by itself. Clean up some #includes while we're at it; in particular, frame_data.h doesn't use anything related to tvbuffs, so don't have it gratuitiously include tvbuff.h. Change-Id: Ic32922d4a3840bac47007c5d4c546b8842245e0c Reviewed-on: https://code.wireshark.org/review/13518 Reviewed-by: Guy Harris <guy@alum.mit.edu>
2016-01-14Clarify IPHC dissection of IPv6 ECN and DSCPKevin Bracey1-27/+34
6LoWPAN IPHC dissection displayed ECN and DSCP as if they were an IPv6-layout bitfield. Remove this extra abstraction layer, and output them more simply as individual bit items, with a generated field to indicate the IPv6 equivalent. Change-Id: Iff1473ce181fb40ae07a773689a5fee7bd9e98c7 Reviewed-on: https://code.wireshark.org/review/13185 Petri-Dish: João Valverde <j@v6e.pt> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: João Valverde <j@v6e.pt> Reviewed-by: Anders Broman <a.broman58@gmail.com>
2016-01-126LoWPAN: correct IPHC traffic class decompressionKevin Bracey1-5/+9
Traffic class values from IPHC headers were shown correctly in the IPHC dissection, but not correctly inserted into the expanded IPv6 packet. Problem was only visible on little-endian systems - the previous code did work if big-endian. Error was not present in HC1 decompression, but both IPHC and HC1 IPv6 construction code clarified by avoiding writing overlapping union members. Bug: 11971 Change-Id: I3515f18c892f1fc28ef7f8a0830a79d134e81f48 Reviewed-on: https://code.wireshark.org/review/13109 Petri-Dish: João Valverde <j@v6e.pt> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: João Valverde <j@v6e.pt>
2016-01-08Fix a lot of typos and misspellingsmoshekaplan1-1/+1
Change-Id: I8512cfa1d424f82a873a0e0e1d22c7b075fdd7f3 Reviewed-on: https://code.wireshark.org/review/13069 Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com> Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Michael Mann <mmann78@netscape.net>
2015-12-116LowPAN: Check for NHC IPv6 No Next HeaderJoão Valverde1-1/+1
Bug: 11728 Change-Id: I7b7cc72b4200e53856283e0716383d661a16fa77 Reviewed-on: https://code.wireshark.org/review/12512 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2015-12-09new_register_dissector -> register_dissector for dissector directory.Michael Mann1-1/+1
Change-Id: Ie39ef054a4a942687bd079f3a4d8c2cc55d5f22c Reviewed-on: https://code.wireshark.org/review/12485 Petri-Dish: Michael Mann <mmann78@netscape.net> Reviewed-by: Michael Mann <mmann78@netscape.net>
2015-10-26Clean up more unnecessary use of the 'volatile' key word.Jeff Morriss1-5/+5
Change-Id: I3e72fddc6ed380780d7e2e1c8df87e580138188d Reviewed-on: https://code.wireshark.org/review/11271 Petri-Dish: Jeff Morriss <jeff.morriss.ws@gmail.com> Reviewed-by: Michael Mann <mmann78@netscape.net>
2015-10-22Use address functions instead of ADDRESS macros in asn1 and epanGerald Combs1-4/+4
Replace CMP_ADDRESS, COPY_ADDRESS, et al with their lower-case equivalents in the asn1 and epan directories. Change-Id: I4043b0931d4353d60cffbd829e30269eb8d08cf4 Reviewed-on: https://code.wireshark.org/review/11200 Petri-Dish: Michal Labedzki <michal.labedzki@tieto.com> Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Michael Mann <mmann78@netscape.net>
2015-10-14Change proto_tree_add_ipv6() to take a struct e_in6_addr pointerJoão Valverde1-6/+6
tvb_get_ipv6() takes a struct e_in6_addr *, use that here too. Change-Id: Id8b368daa05c151a61d4bc01dc88c00da13e9c88 Reviewed-on: https://code.wireshark.org/review/10953 Reviewed-by: Michael Mann <mmann78@netscape.net> Petri-Dish: Michael Mann <mmann78@netscape.net> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Balint Reczey <balint@balintreczey.hu> Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>