summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRatan Gupta <ratagupt@in.ibm.com>2018-03-18 23:13:39 +0530
committerTom Joseph <tomjoseph@in.ibm.com>2018-03-20 06:02:53 +0000
commitdf53d222006890b4d918dc92308bf981947a515a (patch)
tree12bf02094b7535e09333f0710e4fcd7e076a9d60
parent7a7f0126a7e76d7c455b9de06135a308ac370369 (diff)
downloadphosphor-host-ipmid-df53d222006890b4d918dc92308bf981947a515a.tar.gz
phosphor-host-ipmid-df53d222006890b4d918dc92308bf981947a515a.zip
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 <ratagupt@in.ibm.com>
-rw-r--r--transporthandler.cpp2
1 files changed, 1 insertions, 1 deletions
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);
OpenPOWER on IntegriCloud