From df53d222006890b4d918dc92308bf981947a515a Mon Sep 17 00:00:00 2001 From: Ratan Gupta Date: Sun, 18 Mar 2018 23:13:39 +0530 Subject: SetLan: Fix the IP address if partial data given Presently when partial lan data is given the code was not getting the correct IP object,it was getting the linklocal address. This defect was introduced due to this commit c7c1c3c. This commit fixes this problem. Change-Id: I8f6d915cd3e1757ba28394cd93f16396e087d4f7 Signed-off-by: Ratan Gupta --- transporthandler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/transporthandler.cpp b/transporthandler.cpp index 8bf0d43..787a8fc 100644 --- a/transporthandler.cpp +++ b/transporthandler.cpp @@ -699,7 +699,7 @@ void applyChanges(int channel) // if the system is having ip object,then // get the IP object. - ipObject = ipmi::getDbusObject(bus, + ipObject = ipmi::getIPObject(bus, ipmi::network::IP_INTERFACE, ipmi::network::ROOT, ethIp); -- cgit v1.2.1