CCing qlogic.
Which one of you guys is watching over iscsiuio?
On 5/21/15, 4:12 AM, Johannes Thumshirn wrote:
Gnetle ping on this
On Mon, May 11, 2015 at 01:38:12PM +0200, Johannes Thumshirn wrote:
When iscsiuio performs a lookup in it's routing table
for the default router, nothing is returned as ndpc_request()
didn't understand the 'GET_DEFAULT_ROUTER_ADDR' request.
The solution is to add the request and return the default router
address.
Signed-off-by: Johannes Thumshirn <[email protected]>
---
iscsiuio/src/uip/ipv6_ndpc.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/iscsiuio/src/uip/ipv6_ndpc.c b/iscsiuio/src/uip/ipv6_ndpc.c
index 62d1c21..8422d7e 100644
--- a/iscsiuio/src/uip/ipv6_ndpc.c
+++ b/iscsiuio/src/uip/ipv6_ndpc.c
@@ -413,6 +413,9 @@ int ndpc_request(struct uip_stack *ustack, void *in, void
*out, int request)
(struct ipv6_addr *)((struct ndpc_reqptr *)in)->ipv6,
(struct mac_address *)((struct ndpc_reqptr *)in)->eth);
break;
+ case GET_DEFAULT_ROUTER_ADDR:
+ ipv6_get_default_router_ip_addrs(ipv6c, *(struct ipv6_addr
**)out);
+ break;
case GET_HOST_ADDR:
*(struct ipv6_addr **)out = ipv6_find_longest_match(ipv6c,
(struct ipv6_addr *)in);
--
2.3.7
--
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/open-iscsi.
For more options, visit https://groups.google.com/d/optout.