Send the trap to the configured SNMP managers
Get the snmp manager details from the D-bus service and send the
trap to all the configured snmp managers.
Resolves openbmc/openbmc#3058
Change-Id: I9c59ae866ab194e92a85254ca646ecc299803f26
Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
diff --git a/Makefile.am b/Makefile.am
index 7167b1d..68c7ab7 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -9,7 +9,8 @@
noinst_HEADERS = \
snmp_client.hpp \
- snmp_conf_manager.hpp
+ snmp_conf_manager.hpp \
+ snmp_util.hpp
phosphor_network_snmpconf_SOURCES = \
snmp_main.cpp \
@@ -51,7 +52,8 @@
libsnmp_LTLIBRARIES = libsnmp.la
libsnmp_la_SOURCES = \
- snmp_notification.cpp
+ snmp_notification.cpp \
+ snmp_util.cpp
libsnmp_la_LDFLAGS = \
$(SDBUSPLUS_LIBS) \