Package: manpages
Version: 3.05-1
Severity: normal
Tags: patch

ipv6(7) has the wrong type for both the sin6_family and sin6_port
fields of the sockaddr_in6 struct.  Patch attached.

/Teddy Hogeborn

-- System Information:
Debian Release: 5.0
  APT prefers proposed-updates
  APT policy: (500, 'proposed-updates'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

manpages depends on no packages.

manpages recommends no packages.

Versions of packages manpages suggests:
ii  man-db [man-browser]          2.5.2-4    on-line manual pager

-- no debconf information
--- manpages-3.05/man7/ipv6.7.~1~	2008-07-23 16:12:29.000000000 +0200
+++ manpages-3.05/man7/ipv6.7	2009-02-25 14:04:33.000000000 +0100
@@ -64,8 +64,8 @@
 .in +4n
 .nf
 struct sockaddr_in6 {
-    uint16_t        sin6_family;   /* AF_INET6 */
-    uint16_t        sin6_port;     /* port number */
+    sa_family_t     sin6_family;   /* AF_INET6 */
+    in_port_t       sin6_port;     /* transport layer port # */
     uint32_t        sin6_flowinfo; /* IPv6 flow information */
     struct in6_addr sin6_addr;     /* IPv6 address */
     uint32_t        sin6_scope_id; /* Scope ID (new in 2.4) */

Reply via email to