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 Fix PR 42923, from Takahiro HAYASHI, thanks.



details:   https://anonhg.NetBSD.org/src/rev/26e68aaf7cc9
branches:  trunk
changeset: 763743:26e68aaf7cc9
user:      mbalmer <mbalmer%NetBSD.org@localhost>
date:      Sat Apr 02 10:19:27 2011 +0000

description:
Fix PR 42923, from Takahiro HAYASHI, thanks.

diffstat:

 usr.sbin/pppd/pppd/sys-bsd.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r d19aa5a7c612 -r 26e68aaf7cc9 usr.sbin/pppd/pppd/sys-bsd.c
--- a/usr.sbin/pppd/pppd/sys-bsd.c      Sat Apr 02 08:38:56 2011 +0000
+++ b/usr.sbin/pppd/pppd/sys-bsd.c      Sat Apr 02 10:19:27 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sys-bsd.c,v 1.62 2010/03/10 13:45:39 christos Exp $    */
+/*     $NetBSD: sys-bsd.c,v 1.63 2011/04/02 10:19:27 mbalmer 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.62 2010/03/10 13:45:39 christos Exp $");
+__RCSID("$NetBSD: sys-bsd.c,v 1.63 2011/04/02 10:19:27 mbalmer Exp $");
 #endif
 #endif
 
@@ -793,7 +793,7 @@
     addreq6.ifra_prefixmask.sin6_len = sizeof(struct sockaddr_in6);
     memset(&addreq6.ifra_prefixmask.sin6_addr, 0xff,
        sizeof(addreq6.ifra_prefixmask.sin6_addr) - sizeof(our_eui64));
-    memset(&addreq6.ifra_prefixmask.sin6_addr +
+    memset((char *)&addreq6.ifra_prefixmask.sin6_addr +
        sizeof(addreq6.ifra_prefixmask.sin6_addr) - sizeof(our_eui64), 0x00,
        sizeof(our_eui64));
 



Home | Main Index | Thread Index | Old Index