Module Name:    src
Committed By:   riz
Date:           Sat Mar 13 18:27:32 UTC 2010

Modified Files:
        src/usr.sbin/pppd/pppd [netbsd-5]: sys-bsd.c

Log Message:
Pull up following revision(s) (requested by christos in ticket #1335):
        usr.sbin/pppd/pppd/sys-bsd.c: revision 1.62
PR/42943: Takashi Sogabe: pppd generates invalid netmask


To generate a diff of this commit:
cvs rdiff -u -r1.58.2.1 -r1.58.2.2 src/usr.sbin/pppd/pppd/sys-bsd.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.sbin/pppd/pppd/sys-bsd.c
diff -u src/usr.sbin/pppd/pppd/sys-bsd.c:1.58.2.1 src/usr.sbin/pppd/pppd/sys-bsd.c:1.58.2.2
--- src/usr.sbin/pppd/pppd/sys-bsd.c:1.58.2.1	Fri Apr  3 17:59:03 2009
+++ src/usr.sbin/pppd/pppd/sys-bsd.c	Sat Mar 13 18:27:31 2010
@@ -1,4 +1,4 @@
-/*	$NetBSD: sys-bsd.c,v 1.58.2.1 2009/04/03 17:59:03 snj Exp $	*/
+/*	$NetBSD: sys-bsd.c,v 1.58.2.2 2010/03/13 18:27:31 riz Exp $	*/
 
 /*
  * sys-bsd.c - System-dependent procedures for setting up
@@ -79,7 +79,7 @@
 #if 0
 #define RCSID	"Id: sys-bsd.c,v 1.47 2000/04/13 12:04:23 paulus Exp "
 #else
-__RCSID("$NetBSD: sys-bsd.c,v 1.58.2.1 2009/04/03 17:59:03 snj Exp $");
+__RCSID("$NetBSD: sys-bsd.c,v 1.58.2.2 2010/03/13 18:27:31 riz Exp $");
 #endif
 #endif
 
@@ -1910,7 +1910,7 @@
 	/*
 	 * Get its netmask and OR it into our mask.
 	 */
-	mask |= ((struct sockaddr_in *)&ifa->ifa_netmask)->sin_addr.s_addr;
+	mask |= ((struct sockaddr_in *)ifa->ifa_netmask)->sin_addr.s_addr;
     }
 
     freeifaddrs(ifap);

Reply via email to