aboutsummaryrefslogtreecommitdiffstats
path: root/lib/snmp/src/agent/snmpa_internal.hrl
diff options
context:
space:
mode:
authorMicael Karlberg <[email protected]>2011-04-04 16:09:50 +0200
committerMicael Karlberg <[email protected]>2011-04-04 16:09:50 +0200
commit245061870d1be138819c5a3df235da8faef90899 (patch)
tree254bddb9011dc9c761ce5b364e8745f4102560b1 /lib/snmp/src/agent/snmpa_internal.hrl
parent057911fd21db849ff4f6a9fa28674002945f725f (diff)
downloadotp-245061870d1be138819c5a3df235da8faef90899.tar.gz
otp-245061870d1be138819c5a3df235da8faef90899.tar.bz2
otp-245061870d1be138819c5a3df235da8faef90899.zip
Added extra-info as an argument to be provided when sending
trap/notification and passed through to the net-if process. First version.
Diffstat (limited to 'lib/snmp/src/agent/snmpa_internal.hrl')
-rw-r--r--lib/snmp/src/agent/snmpa_internal.hrl1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/snmp/src/agent/snmpa_internal.hrl b/lib/snmp/src/agent/snmpa_internal.hrl
index 9fa874f119..fba800175b 100644
--- a/lib/snmp/src/agent/snmpa_internal.hrl
+++ b/lib/snmp/src/agent/snmpa_internal.hrl
@@ -23,6 +23,7 @@
-include_lib("snmp/src/app/snmp_internal.hrl").
-define(DEFAULT_LOCAL_ENGINE_ID, snmp_framework_mib:get_engine_id()).
+-define(DEFAULT_NOTIF_EXTRA_INFO, undefined).
-define(snmpa_info(F, A), ?snmp_info("agent", F, A)).
-define(snmpa_warning(F, A), ?snmp_warning("agent", F, A)).