diff options
author | Bill Meier <wmeier@newsguy.com> | 2014-11-04 22:34:51 -0500 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2014-11-05 03:59:00 +0000 |
commit | 6aee9b1c810df3a58303edbee27919835f23377b (patch) | |
tree | 2686036d24316d7d0b9425af946b782868d0a717 /epan/dissectors/packet-opensafety.c | |
parent | dfb5ddb8d6e3ee2c5c06e18ec608d59f4f7f2a0c (diff) |
opensafety: Use 1<<10 (not 2^10) in a #define;
Comment out the #define since it's not actually used. :)
Change-Id: Ia34200d3eb705a74a33cbcf18175a7f780f2d2e2
Reviewed-on: https://code.wireshark.org/review/5128
Reviewed-by: Bill Meier <wmeier@newsguy.com>
Diffstat (limited to 'epan/dissectors/packet-opensafety.c')
-rw-r--r-- | epan/dissectors/packet-opensafety.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-opensafety.c b/epan/dissectors/packet-opensafety.c index fd0da72813..b26424bc46 100644 --- a/epan/dissectors/packet-opensafety.c +++ b/epan/dissectors/packet-opensafety.c @@ -632,7 +632,7 @@ void proto_reg_handoff_opensafety(void); /* This is defined by the specification. The Address field is 10 bits long, and the node with the number * 1 is always the SCM, therefore ( 2 ^ 10 ) - 1 nodes can be addressed. We use 2 ^ 10 here, because the * SCM can talk to himself (Assign SADR for instance ) */ -#define MAX_NUMBER_OF_SAFETY_NODES ( 2 ^ 10 ) +/* #define MAX_NUMBER_OF_SAFETY_NODES ( 1 << 10 ) */ /* Tracks the information that the packet pinfo has been received by receiver, and adds that information to the tree, using pos, as * byte position in the PDU */ |