buglwIP - A Lightweight TCP/IP stack - Bugs: bug #38886, in6_addr error

 
 

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

bug #38886: in6_addr error

Submitted by:  hanhui <hanhui03>
Submitted on:  Sat 04 May 2013 01:27:55 PM UTC  
 
Category: IPv6Severity: 3 - Normal
Item Group: Change RequestStatus: Fixed
Privacy: PublicAssigned to: Simon Goldschmidt <goldsimon>
Open/Closed: ClosedPlanned Release: None
lwIP version: CVS Head

Thu 27 Feb 2014 08:33:14 PM UTC, comment #3:

Already fixed when fixing bug #37585.

Simon Goldschmidt <goldsimon>
Project AdministratorIn charge of this item.
Wed 08 May 2013 06:17:23 AM UTC, comment #2:

#define s6_addr un.u8_addr is right from IEEE Std 1003.1, 2004 Edition.

<http://pubs.opengroup.org/onlinepubs/009696899/basedefs/netinet/in.h.html>

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

uint8_t s6_addr[16];

so, #define s6_addr un.u8_addr is right!

hanhui <hanhui03>
Tue 07 May 2013 06:25:22 PM UTC, comment #1:

Thanks for reporting. In bug #37585 you suggested

#define s6_addr8 un.u8_addr

which one should it be?

Ivan Delamer <idelamer>
Project Member
Sat 04 May 2013 01:27:55 PM UTC, original submission:

struct in6_addr {
union {
u8_t u8_addr[16];
u32_t u32_addr[4];
} un;
#define s6_addr un.u32_addr
};
should be:
#define s6_addr un.u8_addr

hanhui <hanhui03>

 

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 (Updated the item)
  • -unavailable- added by idelamer (Posted a comment)
  • -unavailable- added by hanhui03 (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 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 27 Feb 2014 08:33:14 PM UTCgoldsimonStatusNone=>Fixed
      Assigned toNone=>goldsimon
      Open/ClosedOpen=>Closed
    Fri 28 Jun 2013 07:59:18 PM UTCgoldsimonPlanned Release=>1.5.0 beta1

    Back to the top


    Powered by Savane 3.1-cleanup1