From: Adheer Chandravanshi <adheer.chandravan...@qlogic.com> The RA flag bits M & O were not being correctly checked for stateful config.
Signed-off-by: Adheer Chandravanshi <adheer.chandravan...@qlogic.com> --- iscsiuio/src/uip/ipv6.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/iscsiuio/src/uip/ipv6.c b/iscsiuio/src/uip/ipv6.c index ced98a6..afafd19 100644 --- a/iscsiuio/src/uip/ipv6.c +++ b/iscsiuio/src/uip/ipv6.c @@ -1262,11 +1262,11 @@ u16_t ipv6_do_stateful_dhcpv6(struct ipv6_context *context, u32_t flags) } if ((flags & ISCSI_FLAGS_DHCP_TCPIP_CONFIG) && - (ra_flags & IPV6_FLAGS_MANAGED_ADDR_CONFIG)) + !(ra_flags & IPV6_FLAGS_MANAGED_ADDR_CONFIG)) task |= DHCPV6_TASK_GET_IP_ADDRESS; if ((flags & ISCSI_FLAGS_DHCP_ISCSI_CONFIG) && - (ra_flags & IPV6_FLAGS_OTHER_STATEFUL_CONFIG)) + !(ra_flags & IPV6_FLAGS_OTHER_STATEFUL_CONFIG)) task |= DHCPV6_TASK_GET_OTHER_PARAMS; LOG_DEBUG("IPv6: Stateful flags = 0x%x, ra_flags = 0x%x, task = 0x%x", -- 1.7.1 -- You received this message because you are subscribed to the Google Groups "open-iscsi" group. To unsubscribe from this group and stop receiving emails from it, send an email to open-iscsi+unsubscr...@googlegroups.com. To post to this group, send email to open-iscsi@googlegroups.com. Visit this group at http://groups.google.com/group/open-iscsi. For more options, visit https://groups.google.com/d/optout.