aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-agentx.c
diff options
context:
space:
mode:
authorSake Blok <sake@euronet.nl>2010-10-01 19:13:56 +0000
committerSake Blok <sake@euronet.nl>2010-10-01 19:13:56 +0000
commit433dcf1f82fe842d844e340a8d42daa705d0a9ab (patch)
treec51c6d728a516556b6da8802d784115454ec8dbf /epan/dissectors/packet-agentx.c
parent938a4e2c474092ae6f51fa540d90de2939b83d3f (diff)
Changing the flag bitmasks to their proper values (see http://www.faqs.org/rfcs/rfc2741.html). This fixes part of bug 5269.
svn path=/trunk/; revision=34316
Diffstat (limited to 'epan/dissectors/packet-agentx.c')
-rw-r--r--epan/dissectors/packet-agentx.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/epan/dissectors/packet-agentx.c b/epan/dissectors/packet-agentx.c
index b41a08ca38..9c8a659831 100644
--- a/epan/dissectors/packet-agentx.c
+++ b/epan/dissectors/packet-agentx.c
@@ -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)