Source-Changes-HG archive

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

[src/netbsd-1-5]: src/usr.sbin/rarpd Include the fact we're making replies in...



details:   https://anonhg.NetBSD.org/src/rev/b832bdedd547
branches:  netbsd-1-5
changeset: 489315:b832bdedd547
user:      abs <abs%NetBSD.org@localhost>
date:      Wed Aug 30 17:10:45 2000 +0000

description:
Include the fact we're making replies in debug() output.
Pullup revision 1.38, approved by thorpej

diffstat:

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

diffs (27 lines):

diff -r b113a0abb80a -r b832bdedd547 usr.sbin/rarpd/rarpd.c
--- a/usr.sbin/rarpd/rarpd.c    Wed Aug 30 11:35:13 2000 +0000
+++ b/usr.sbin/rarpd/rarpd.c    Wed Aug 30 17:10:45 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rarpd.c,v 1.37 2000/04/13 09:12:16 itojun Exp $        */
+/*     $NetBSD: rarpd.c,v 1.37.4.1 2000/08/30 17:10:45 abs Exp $       */
 
 /*
  * Copyright (c) 1990 The Regents of the University of California.
@@ -28,7 +28,7 @@
 #endif /* not lint */
 
 #ifndef lint
-__RCSID("$NetBSD: rarpd.c,v 1.37 2000/04/13 09:12:16 itojun Exp $");
+__RCSID("$NetBSD: rarpd.c,v 1.37.4.1 2000/08/30 17:10:45 abs Exp $");
 #endif
 
 
@@ -939,6 +939,8 @@
        len = sizeof(*ep) + sizeof(*ap);
 #endif
 
+       debug("%s asked; %s replied", hp->h_name,
+                           ether_ntoa((struct ether_addr *)ar_tha(ap)));
        if (lflag)
                syslog(LOG_INFO, "%s asked; %s replied", hp->h_name, 
                    ether_ntoa((struct ether_addr *)ar_tha(ap)));



Home | Main Index | Thread Index | Old Index