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/snmp_main.cpp b/snmp_main.cpp
index 932b9f4..d11ed1e 100644
--- a/snmp_main.cpp
+++ b/snmp_main.cpp
@@ -10,7 +10,7 @@
 /* Need a custom deleter for freeing up sd_event */
 struct EventDeleter
 {
-    void operator()(sd_event* event) const
+    void operator()(sd_event *event) const
     {
         event = sd_event_unref(event);
     }
@@ -18,13 +18,13 @@
 
 using EventPtr = std::unique_ptr<sd_event, EventDeleter>;
 
-int main(int argc, char* argv[])
+int main(int argc, char *argv[])
 {
     using namespace phosphor::logging;
 
     auto bus = sdbusplus::bus::new_default();
 
-    sd_event* event = nullptr;
+    sd_event *event = nullptr;
     auto r = sd_event_default(&event);
     if (r < 0)
     {