Source-Changes-HG archive

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

[src/trunk]: src/usr.sbin/gifconfig correct use of last arg to getnameinfo() ...



details:   https://anonhg.NetBSD.org/src/rev/4e60c8ea81be
branches:  trunk
changeset: 486251:4e60c8ea81be
user:      itojun <itojun%NetBSD.org@localhost>
date:      Wed May 17 04:29:14 2000 +0000

description:
correct use of last arg to getnameinfo() (s/flags/niflags/, typo)

diffstat:

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

diffs (20 lines):

diff -r 3089bd3cfbbf -r 4e60c8ea81be usr.sbin/gifconfig/gifconfig.c
--- a/usr.sbin/gifconfig/gifconfig.c    Wed May 17 02:31:12 2000 +0000
+++ b/usr.sbin/gifconfig/gifconfig.c    Wed May 17 04:29:14 2000 +0000
@@ -1,5 +1,5 @@
-/*     $NetBSD: gifconfig.c,v 1.7 2000/05/13 07:55:06 itojun Exp $     */
-/*     $KAME: gifconfig.c,v 1.8 2000/05/13 07:52:46 itojun Exp $       */
+/*     $NetBSD: gifconfig.c,v 1.8 2000/05/17 04:29:14 itojun Exp $     */
+/*     $KAME: gifconfig.c,v 1.9 2000/05/17 04:26:38 itojun Exp $       */
 
 /*
  * Copyright (c) 1983, 1993
@@ -685,7 +685,7 @@
                        }
 #endif
                        getnameinfo((struct sockaddr *)sin, sin->sin6_len,
-                                   hostname, sizeof(hostname), 0, 0, flags);
+                                   hostname, sizeof(hostname), 0, 0, niflags);
                        printf("--> %s ", hostname);
                }
        }



Home | Main Index | Thread Index | Old Index