Opened 12 years ago

Closed 12 years ago

#2116 closed bug (fixed)

Add definition INET_ADDRSTRLEN in netinet/in.h

Reported by: nielx Owned by: axeld
Priority: normal Milestone: R1
Component: System/ Version: R1/pre-alpha1
Keywords: Cc: andreasf
Blocked By: Blocking:
Platform: All


SUSv3 requires INET_ADDRSTRLEN to be defined in netinet/in.h.

It also requires INET6_ADDRSTRLEN to be defined to 46, but I don't know if we support ipv6, and whether it should go to netinet6/in6.h. This is the reason I opened a ticket for it. I attached a one-liner to supply the first one.

Attachments (1)

INET_ADDRSTRLEN.patch (436 bytes ) - added by nielx 12 years ago.

Download all attachments as: .zip

Change History (4)

by nielx, 12 years ago

Attachment: INET_ADDRSTRLEN.patch added

comment:1 by andreasf, 12 years ago

Cc: andreasf added

comment:2 by andreasf, 12 years ago

Update: INET_ADDRSTRLEN has been added in hrev25598.

comment:3 by axeld, 12 years ago

Resolution: fixed
Status: newclosed

The IPv6 stuff should all go into netinet/in6.h. I'm closing this bug, as we don't support IPv6 yet, and INET_ADDRSTRLEN has been added in the mean time.

Note: See TracTickets for help on using tickets.