commit | d5967afbbec5c0829ceb8e274f2e58954942757c | [log] [tgz] |
---|---|---|
author | Tony Lee <tony.lee@quantatw.com> | Tue Jul 06 15:49:11 2021 +0800 |
committer | Vernon Mauery <vernon.mauery@linux.intel.com> | Mon Jul 26 22:04:52 2021 +0000 |
tree | a6d12a25ebd569b3941217d2e7161898ed0bc2ea | |
parent | 89a83b6726ba4e75d1af1f0b3524fca955e28413 [diff] |
Fix unexpected change of ipsrc of ipv6 Issue: The initial ipsrc of ipv6 is dhcp. When setting different static ipv4 twice, ipv6 will become static. Fix: Rewrite the if condition. setDHCPv4Property is only for IPv4 management. It should not modify IPv6 state. Tested: Verified step as below: 1. Get dbus property 'DHCPEnabled' via busctl get-property xyz.openbmc_project.Network /xyz/openbmc_project/network/eth1 xyz.openbmc_project.Network.EthernetInterface DHCPEnabled s "xyz.openbmc_project.Network.EthernetInterface.DHCPConf.both" 2. Set an static ipv4. 3. Set another static ipv4. 4. Check 'DHCPEnabled' is still v6 via dbus. And check the config in 00-bmc-eth1.network without ipv6 static address. Change-Id: I8b55c01a61e568555983fc462d4508f2860217be Signed-off-by: Tony Lee <tony.lee@quantatw.com>
To build this package, do the following steps:
1. ./bootstrap.sh 2. ./configure ${CONFIGURE_FLAGS} 3. make
To clean the repository run ./bootstrap.sh clean
.