Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/pppd/pppd PR/42943: Takashi Sogabe: pppd generates ...
details: https://anonhg.NetBSD.org/src/rev/105ad956b2bb
branches: trunk
changeset: 752892:105ad956b2bb
user: christos <christos%NetBSD.org@localhost>
date: Wed Mar 10 13:45:39 2010 +0000
description:
PR/42943: Takashi Sogabe: pppd generates invalid netmask
diffstat:
usr.sbin/pppd/pppd/sys-bsd.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 4382ab308b12 -r 105ad956b2bb usr.sbin/pppd/pppd/sys-bsd.c
--- a/usr.sbin/pppd/pppd/sys-bsd.c Wed Mar 10 09:42:46 2010 +0000
+++ b/usr.sbin/pppd/pppd/sys-bsd.c Wed Mar 10 13:45:39 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sys-bsd.c,v 1.61 2009/11/14 04:47:03 christos Exp $ */
+/* $NetBSD: sys-bsd.c,v 1.62 2010/03/10 13:45:39 christos 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.61 2009/11/14 04:47:03 christos Exp $");
+__RCSID("$NetBSD: sys-bsd.c,v 1.62 2010/03/10 13:45:39 christos Exp $");
#endif
#endif
@@ -1932,7 +1932,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);
Home |
Main Index |
Thread Index |
Old Index