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

Submitted by:  Robin <back1127_mtk>
Submitted on:  Mon 28 Sep 2015 06:13:29 AM UTC  
 
Category: IPv6Severity: 3 - Normal
Item Group: Faulty BehaviourStatus: Fixed
Privacy: PublicAssigned to: Simon Goldschmidt <goldsimon>
Open/Closed: ClosedPlanned 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>
Project AdministratorIn charge of this item.
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>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 28 Sep 2015 07:41:43 AM UTCgoldsimonStatusNone=>Fixed
      Assigned toNone=>goldsimon
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1