buglwIP - A Lightweight TCP/IP stack - Bugs: bug #46064, use lwip-master to implement UDP...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #46064: use lwip-master to implement UDP client over IPv6 failed

Submitter:  Robin <back1127_mtk>
Submitted:  Mon 28 Sep 2015 06:13:29 AM UTC
   
 
Category:  IPv6 Severity:  3 - Normal
Item Group:  Faulty Behaviour Status:  Fixed
Privacy:  Public Assigned to:  goldsimon
Open/Closed:  Closed Planned Release:  None
lwIP version:  Other

Mon 28 Sep 2015 07:41:43 AM UTC, comment #1: 

Fixed by setting the address type in ip_set_v6().

Thanks for reporting.

Simon Goldschmidt <goldsimon>
Group administrator
Mon 28 Sep 2015 06:13:29 AM UTC, original submission:  

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).

Robin <back1127_mtk>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by goldsimon (Posted a comment)
  • -email is unavailable- added by back1127_mtk (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-09-28 goldsimon StatusNone Fixed
        Assigned toNone goldsimon
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-caa5.
    Corresponding source code