Wireshark mailing list archives

Re: [Wireshark-commits] rev 38106: /trunk/epan/dissectors/ /trunk/epan/dissectors/: packet-bacapp.c


From: "Maynard, Chris" <Christopher.Maynard () GTECH COM>
Date: Tue, 19 Jul 2011 01:19:01 -0400

-----Original Message-----
From: wireshark-commits-bounces () wireshark org [mailto:wireshark-commits-
bounces () wireshark org] On Behalf Of guy () wireshark org
Sent: Monday, July 18, 2011 11:20 PM
To: wireshark-commits () wireshark org
Subject: [Wireshark-commits] rev 38106: /trunk/epan/dissectors/
/trunk/epan/dissectors/: packet-bacapp.c

http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=38106

User: guy
Date: 2011/07/18 08:20 PM

Log:
 Use ENC_LITTLE_ENDIAN rather than TRUE in proto_tree_add_item() calls.
 (Yes, that means that all but one call uses ENC_LITTLE_ENDIAN, and one
 uses ENC_BIG_ENDIAN.  I guess that's how the protocol works....)

Directory: /trunk/epan/dissectors/
  Changes    Path               Action
  +33 -34    packet-bacapp.c    Modified

Isn't this more confusing now?  I don't have access to the BACnet standard, but surely it's either big or little endian 
and not some mix of both?  Assuming the reporter of bug 5769 is correct and the Info column displays the values of the 
low and high limits correctly, then the protocol is ENC_BIG_ENDIAN.  All of the fields affected by r38106 are either 
FT_UINT8's or FT_BOOLEAN's spanning 1 byte, so endian-ness really doesn't matter, but if someone does the old 
"copy-and-paste" thing later on, [s]he might incorrectly copy an ENC_LITTLE_ENDIAN when it should be ENC_BIG_ENDIAN.

CONFIDENTIALITY NOTICE: The contents of this email are confidential
and for the exclusive use of the intended recipient. If you receive this
email in error, please delete it from your system immediately and 
notify us either by email, telephone or fax. You should not copy,
forward, or otherwise disclose the content of the email.

___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe


Current thread: