[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [bug #46064] use lwip-master to implement UDP client over I
From: |
Robin |
Subject: |
[lwip-devel] [bug #46064] use lwip-master to implement UDP client over IPv6 failed |
Date: |
Mon, 28 Sep 2015 06:13:30 +0000 |
User-agent: |
Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.130 Safari/537.36 |
URL:
<http://savannah.nongnu.org/bugs/?46064>
Summary: use lwip-master to implement UDP client over IPv6
failed
Project: lwIP - A Lightweight TCP/IP stack
Submitted by: back1127_mtk
Submitted on: Mon Sep 28 06:13:29 2015
Category: IPv6
Severity: 3 - Normal
Item Group: Faulty Behaviour
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Planned Release:
lwIP version: Other
_______________________________________________________
Details:
It will fail when it check IP_ADDR_PCB_VERSION_MATCH in udp_bind function.The
UDP client use UDP_PCB with IPv6 flag. But the type of ipaddr is 0. It haven't
set as IPADDR_TYPE_V6.
I think it need to modify code in pcb_new function. After
ip_set_v6(msg->conn->pcb.ip, 1) at last in this funtion, it need to call
IP_SET_TYPE(&((msg->conn->pcb.ip)->local_ip), IPADDR_TYPE_V6).
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?46064>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
- [lwip-devel] [bug #46064] use lwip-master to implement UDP client over IPv6 failed,
Robin <=