Changing the flag bitmasks to their proper values (see http://www.faqs.org/rfcs/rfc27...
authorsake <sake@f5534014-38df-0310-8fa8-9805f1628bb7>
Fri, 1 Oct 2010 19:13:56 +0000 (19:13 +0000)
committersake <sake@f5534014-38df-0310-8fa8-9805f1628bb7>
Fri, 1 Oct 2010 19:13:56 +0000 (19:13 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@34316 f5534014-38df-0310-8fa8-9805f1628bb7

epan/dissectors/packet-agentx.c

index b41a08ca38fc4dd8fddd8723f8c535ac529c78ee..9c8a659831d3ca51953c3c0134cc8c4b5ca1ab79 100644 (file)
@@ -275,11 +275,11 @@ static const value_string resp_errors[] = {
 
 /* PDU Header flags */
 
-#define INSTANCE_REGISTRATION  0
-#define NEW_INDEX              0x1
-#define ANY_INDEX              0x2
-#define NON_DEFAULT_CONTEXT    0x4
-#define NETWORK_BYTE_ORDER     0x8
+#define INSTANCE_REGISTRATION  0x01
+#define NEW_INDEX              0x02
+#define ANY_INDEX              0x04
+#define NON_DEFAULT_CONTEXT    0x08
+#define NETWORK_BYTE_ORDER     0x10
 
 #define PDU_HDR_LEN    20
 #define PADDING(x) ((((x) + 3) >> 2) << 2)