aboutsummaryrefslogtreecommitdiffstats
path: root/lib/snmp/src/agent/snmpa_internal.hrl
diff options
context:
space:
mode:
authorMicael Karlberg <bmk@erlang.org>2011-11-25 19:39:19 +0100
committerMicael Karlberg <bmk@erlang.org>2011-11-25 19:39:19 +0100
commit4062174a7e1f5aa06fd7e125250a125d4cf1f73e (patch)
tree3f2cb6e686f5ea4ef8e952c6b6d23e084ac5203c /lib/snmp/src/agent/snmpa_internal.hrl
parent3870fd90dd25c637f737bf09d1854a5c12f308c8 (diff)
parent7e2d9ae8e32310d56311f11261159f0b8aa512f9 (diff)
downloadotp-4062174a7e1f5aa06fd7e125250a125d4cf1f73e.tar.gz
otp-4062174a7e1f5aa06fd7e125250a125d4cf1f73e.tar.bz2
otp-4062174a7e1f5aa06fd7e125250a125d4cf1f73e.zip
Merge branch 'bmk/snmp/agent/trapsending_from_subagents/OTP-9745' into bmk/snmp/snmp4213_integration
Diffstat (limited to 'lib/snmp/src/agent/snmpa_internal.hrl')
-rw-r--r--lib/snmp/src/agent/snmpa_internal.hrl3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/snmp/src/agent/snmpa_internal.hrl b/lib/snmp/src/agent/snmpa_internal.hrl
index a490a78f84..20a36cc118 100644
--- a/lib/snmp/src/agent/snmpa_internal.hrl
+++ b/lib/snmp/src/agent/snmpa_internal.hrl
@@ -22,7 +22,8 @@
-include_lib("snmp/src/app/snmp_internal.hrl").
--define(DEFAULT_LOCAL_ENGINE_ID, snmp_framework_mib:get_engine_id()).
+%% The DEFAULT_LOCAL_ENGINE_ID macro can only be used by the master_agent!!
+-define(DEFAULT_LOCAL_ENGINE_ID, snmp_framework_mib:get_engine_id()).
-define(DEFAULT_NOTIF_EXTRA_INFO, {snmpa_default_notification_extra_info}).
-define(snmpa_info(F, A), ?snmp_info("agent", F, A)).