Modify Get Lan Configuration IP Address Source to use correct DBus DHCPEnabled type

The Get/Set Lan Configuration "IP Address Source" subcommand got
broken by phosphor-dbus-interfaces commit 12162be

12162be changed the DBus DHCPEnabled type from boolean to enum
type. The Get LAN Configuration IP address Source IPMI command did not
get changed to an enum type prior to 12162be being merged. This commit
retroactively updates the boolean type to enum type.

Tested:

ipmitool raw 0xc 2 3 4 0 0  # returns correct state
ipmitool raw 0xc 1 3 4 1    # changes DCHP to Static
ipmitool raw 0xc 1 3 4 2    # returns Static to DHCP

Assigned a static address via Redfish and tested using:
ipmitool raw 0xc 2 3 4 0 0  # returns correct state

Returned the NIC to use DHCP via Redfish and tested using:
ipmitool raw 0xc 2 3 4 0 0  # returns correct state

Change-Id: Ia66f7fcf3d5ad0a383b06658b18e8ce2b282e052
Signed-off-by: Johnathan Mantey <johnathanx.mantey@intel.com>
1 file changed