buglwIP - A Lightweight TCP/IP stack - Bugs: bug #34124, struct in6_addr does not conform...

 
 

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

bug #34124: struct in6_addr does not conform to the standard

Submitted by:  Simon Goldschmidt <goldsimon>
Submitted on:  Wed 24 Aug 2011 07:41:46 PM UTC  
 
Category: sockets/netconnSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: Simon Goldschmidt <goldsimon>
Open/Closed: ClosedPlanned Release: None
lwIP version: CVS Head

Wed 24 Aug 2011 07:43:09 PM UTC, comment #1:

Fixed.

Simon Goldschmidt <goldsimon>
Project AdministratorIn charge of this item.
Wed 24 Aug 2011 07:41:46 PM UTC, original submission:

http://pubs.opengroup.org/onlinepubs/009604599/basedefs/netinet/in.h.html says:

The <netinet/in.h> header shall define the in6_addr structure that contains at least the following member:

uint8_t s6_addr[16]

However, our struct only has a member

u32_t s_addr[4]

which leads to (at least) iperf not compiling correctly.

I therefore change the struct (linux-like) to consist of a union and add an appropriate define so that BSD code can rely on the correct member name.

Simon Goldschmidt <goldsimon>
Project AdministratorIn charge of this item.

 

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 (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 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 24 Aug 2011 07:43:09 PM UTCgoldsimonStatusNone=>Fixed
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1