Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-2]: src/usr.sbin/pppd/pppd Pull up revision 1.35 (requested by kl...



details:   https://anonhg.NetBSD.org/src/rev/1a6dcefcb06e
branches:  netbsd-2
changeset: 563771:1a6dcefcb06e
user:      riz <riz%NetBSD.org@localhost>
date:      Tue Jul 05 18:34:48 2005 +0000

description:
Pull up revision 1.35 (requested by kleink in ticket #2015):
np->h_net is not a pointer.

diffstat:

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

diffs (27 lines):

diff -r b07658059f83 -r 1a6dcefcb06e usr.sbin/pppd/pppd/auth.c
--- a/usr.sbin/pppd/pppd/auth.c Tue Jul 05 18:34:34 2005 +0000
+++ b/usr.sbin/pppd/pppd/auth.c Tue Jul 05 18:34:48 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: auth.c,v 1.34 2003/05/16 18:15:34 itojun Exp $ */
+/*     $NetBSD: auth.c,v 1.34.4.1 2005/07/05 18:34:48 riz Exp $        */
 
 /*
  * auth.c - PPP authentication and phase control.
@@ -78,7 +78,7 @@
 #if 0
 #define RCSID  "Id: auth.c,v 1.69 2001/03/12 22:50:01 paulus Exp "
 #else
-__RCSID("$NetBSD: auth.c,v 1.34 2003/05/16 18:15:34 itojun Exp $");
+__RCSID("$NetBSD: auth.c,v 1.34.4.1 2005/07/05 18:34:48 riz Exp $");
 #endif
 #endif
 
@@ -1610,7 +1610,7 @@
        } else {
            np = getnetbyname (ptr_word);
            if (np != NULL && np->n_addrtype == AF_INET) {
-               a = htonl (*(u_int32_t *)np->n_net);
+               a = htonl(np->n_net);
                if (ptr_mask == NULL) {
                    /* calculate appropriate mask for net */
                    ah = ntohl(a);



Home | Main Index | Thread Index | Old Index