packet-smb2: fix getting the dataoffset in dissect_smb2_write_request()
authorStefan Metzmacher <metze@samba.org>
Tue, 23 Sep 2014 21:12:29 +0000 (23:12 +0200)
committerAlexis La Goutte <alexis.lagoutte@gmail.com>
Thu, 22 Jan 2015 16:12:56 +0000 (16:12 +0000)
commit48c90d16e7609281893e49bfe6f6cfa96dba9ec3
treea2e97fd721e25387c98ba24ee29cbe87df2424bb
parent97d0f36f1715ef0b172c19fdb8ecdce14ae0ba0c
packet-smb2: fix getting the dataoffset in dissect_smb2_write_request()

It's 2 byte only so we need to use tvb_get_letohs().

Change-Id: Idbab6428f4242abbbff089d7e1d1bf4cc86930b1
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-on: https://code.wireshark.org/review/6710
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
epan/dissectors/packet-smb2.c