Clean up the "round up to a multiple of 4" code a bit.
svn path=/trunk/; revision=45548
This commit is contained in:
parent
26ddc4c04f
commit
85b3da7c63
|
@ -1002,8 +1002,8 @@ dissect_iscsi_pdu(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint off
|
|||
}
|
||||
|
||||
/* strip off padding bytes */
|
||||
if(ahs_offset&0x0003){
|
||||
ahs_offset=(ahs_offset+3)&0xfffffffc;
|
||||
if(ahs_offset & 3){
|
||||
ahs_offset=(ahs_offset+3) & ~3;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue