commit | d385b5a6c358a3664bf97634aa50d558d0cbd4e3 | [log] [tgz] |
---|---|---|
author | Jiaqing Zhao <jiaqing.zhao@intel.com> | Wed Dec 29 18:31:49 2021 +0800 |
committer | Vernon Mauery <vernon.mauery@linux.intel.com> | Thu Jan 06 21:38:34 2022 +0000 |
tree | 5dafdf703897eca3ee69e90afc662d4e26aa8572 | |
parent | d934be9d4b441994e62a4f31094cd20188a69246 [diff] |
Fix code logic of setDHCPv6Property When DHCP is IPv4 only, disabling DHCPv6 by calling setDHCPv6Property will set DHCP to none, which also disables IPv4. This is an unexpected behavior caused by current buggy code logic, there is no if condition meets this situation, so the default value none will be used. This patch fixes the issue by adopting the same logic as d5967afbbec5 ("Fix unexpected change of ipsrc of ipv6"). Tested: 1. current=v4, requested=none => v4 2. Other cases work as expected Change-Id: I6fef0e464b9789bd78f85219701a170fa9e17285 Signed-off-by: Jiaqing Zhao <jiaqing.zhao@intel.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
.