Create the system conf Dbus Object
Also put extra checks while writing the gateway
and the destination to the conf file.
Change-Id: I8f24b3f293e6f978b655f061a198a32690dd44f3
Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
diff --git a/network_manager_main.cpp b/network_manager_main.cpp
index a53d32c..d98ab0d 100644
--- a/network_manager_main.cpp
+++ b/network_manager_main.cpp
@@ -12,7 +12,7 @@
phosphor::network::Manager manager(bus, OBJ_NETWORK);
- manager.createInterfaces();
+ manager.createChildObjects();
bus.request_name(BUSNAME_NETWORK);