Source-Changes-HG archive

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

[src/trunk]: src/usr.sbin/gifconfig sync with latest KAME. (no behavior change)



details:   https://anonhg.NetBSD.org/src/rev/86574fcce97c
branches:  trunk
changeset: 475062:86574fcce97c
user:      itojun <itojun%NetBSD.org@localhost>
date:      Fri Jul 30 19:16:45 1999 +0000

description:
sync with latest KAME. (no behavior change)

diffstat:

 usr.sbin/gifconfig/gifconfig.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 9083b9c5901c -r 86574fcce97c usr.sbin/gifconfig/gifconfig.c
--- a/usr.sbin/gifconfig/gifconfig.c    Fri Jul 30 18:59:42 1999 +0000
+++ b/usr.sbin/gifconfig/gifconfig.c    Fri Jul 30 19:16:45 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: gifconfig.c,v 1.3 1999/07/30 18:59:42 itojun Exp $     */
+/*     $NetBSD: gifconfig.c,v 1.4 1999/07/30 19:16:45 itojun Exp $     */
 
 /*
  * Copyright (c) 1983, 1993
@@ -601,7 +601,7 @@
        sin = (struct sockaddr_in *)info.rti_info[RTAX_NETMASK];
        if (!sin)
                sin = &null_sin;
-       printf("netmask 0x%x ", ntohl(sin->sin_addr.s_addr));
+       printf("netmask 0x%x ", (u_int32_t)ntohl(sin->sin_addr.s_addr));
 
        if (flags & IFF_BROADCAST) {
                /* note RTAX_BRD overlap with IFF_POINTOPOINT */



Home | Main Index | Thread Index | Old Index