Module Name:    src
Committed By:   riz
Date:           Sat Mar 13 18:24:44 UTC 2010

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

Log Message:
Pull up following revision(s) (requested by christos in ticket #1389):
        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.55 -r1.55.4.1 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.55 src/usr.sbin/pppd/pppd/sys-bsd.c:1.55.4.1
--- src/usr.sbin/pppd/pppd/sys-bsd.c:1.55	Sun Jan 29 17:52:38 2006
+++ src/usr.sbin/pppd/pppd/sys-bsd.c	Sat Mar 13 18:24:44 2010
@@ -1,4 +1,4 @@
-/*	$NetBSD: sys-bsd.c,v 1.55 2006/01/29 17:52:38 christos Exp $	*/
+/*	$NetBSD: sys-bsd.c,v 1.55.4.1 2010/03/13 18:24:44 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.55 2006/01/29 17:52:38 christos Exp $");
+__RCSID("$NetBSD: sys-bsd.c,v 1.55.4.1 2010/03/13 18:24:44 riz Exp $");
 #endif
 #endif
 
@@ -1907,7 +1907,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