summaryrefslogtreecommitdiff
path: root/lib/agentx.c
diff options
context:
space:
mode:
authorGhasem Naddaf <ghasem.naddaf@gmail.com>2020-03-11 09:50:54 -0700
committerGhasem Naddaf <ghasem.naddaf@gmail.com>2020-03-11 09:50:54 -0700
commit31384f929ad817f5a6459feeb6f27ff292b35e2f (patch)
tree9072ac9757649e446f8018f44379c8068e1bfa23 /lib/agentx.c
parent912c556b3a0354f37328f52108777e434307e339 (diff)
parent4a652d922754bfb9e4216347cfc6ea59d068b800 (diff)
Merge branch 'master' into nhrp_bugfix
Diffstat (limited to 'lib/agentx.c')
-rw-r--r--lib/agentx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/agentx.c b/lib/agentx.c
index b479b5ea4c..d1b801fe8c 100644
--- a/lib/agentx.c
+++ b/lib/agentx.c
@@ -264,7 +264,7 @@ int smux_trap(struct variable *vp, size_t vp_len, const oid *ename,
uint8_t sptrap)
{
oid objid_snmptrap[] = {1, 3, 6, 1, 6, 3, 1, 1, 4, 1, 0};
- size_t objid_snmptrap_len = sizeof objid_snmptrap / sizeof(oid);
+ size_t objid_snmptrap_len = sizeof(objid_snmptrap) / sizeof(oid);
oid notification_oid[MAX_OID_LEN];
size_t notification_oid_len;
unsigned int i;