Fix incorrect fetch of version field.

svn path=/trunk/; revision=33053
This commit is contained in:
Guy Harris 2010-06-02 17:33:45 +00:00
parent 427eed652b
commit 64682d90a9
1 changed files with 1 additions and 1 deletions

View File

@ -776,7 +776,7 @@ static void dissect_batadv_bcast_v6(tvbuff_t *tvb, packet_info *pinfo, proto_tre
bcast_packeth = ep_alloc(sizeof(struct bcast_packet_v6));
bcast_packeth->version = tvb_get_ntohs(tvb, 1);
bcast_packeth->version = tvb_get_guint8(tvb, 1);
orig_addr = tvb_get_ptr(tvb, 2, 6);
SET_ADDRESS(&bcast_packeth->orig, AT_ETHER, 6, orig_addr);
bcast_packeth->seqno = tvb_get_ntohs(tvb, 8);