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

Submitter:  hanhui <hanhui03>
Submitted:  Sat 04 May 2013 01:27:55 PM UTC
   
 
Category:  IPv6 Severity:  3 - Normal
Item Group:  Change Request Status:  Fixed
Privacy:  Public Assigned to:  goldsimon
Open/Closed:  Closed Planned 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>
Group administrator
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>
Group 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>

 

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

    Date Changed by Updated Field Previous Value => Replaced by
    2014-02-27 goldsimon StatusNone Fixed
        Assigned toNone goldsimon
        Open/ClosedOpen Closed
    2013-06-28 goldsimon Planned Release 1.5.0 beta1

    Back to the top

    Powered by Savane 3.13-f14d.
    Corresponding source code