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 Pull up revision 1.40 (requested by is):



details:   https://anonhg.NetBSD.org/src/rev/e3823bf71b4d
branches:  netbsd-1-5
changeset: 490604:e3823bf71b4d
user:      he <he%NetBSD.org@localhost>
date:      Sat Feb 03 20:49:30 2001 +0000

description:
Pull up revision 1.40 (requested by is):
  Diagnostic message was the wrong way round.  Fixes PR#11330.

diffstat:

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

diffs (34 lines):

diff -r 6d1857d7456e -r e3823bf71b4d usr.sbin/rarpd/rarpd.c
--- a/usr.sbin/rarpd/rarpd.c    Sat Feb 03 20:44:03 2001 +0000
+++ b/usr.sbin/rarpd/rarpd.c    Sat Feb 03 20:49:30 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rarpd.c,v 1.37.4.2 2000/10/17 19:50:29 tv Exp $        */
+/*     $NetBSD: rarpd.c,v 1.37.4.3 2001/02/03 20:49:30 he 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.4.2 2000/10/17 19:50:29 tv Exp $");
+__RCSID("$NetBSD: rarpd.c,v 1.37.4.3 2001/02/03 20:49:30 he Exp $");
 #endif
 
 
@@ -941,11 +941,11 @@
        len = sizeof(*ep) + sizeof(*ap);
 #endif
 
-       debug("%s asked; %s replied", hp->h_name,
-                           ether_ntoa((struct ether_addr *)ar_tha(ap)));
+       debug("%s asked; %s replied",
+           ether_ntoa((struct ether_addr *)ar_tha(ap)), hp->h_name);
        if (lflag)
-               syslog(LOG_INFO, "%s asked; %s replied", hp->h_name, 
-                   ether_ntoa((struct ether_addr *)ar_tha(ap)));
+               syslog(LOG_INFO, "%s asked; %s replied",
+                   ether_ntoa((struct ether_addr *)ar_tha(ap)), hp->h_name);
        n = write(ii->ii_fd, (char *) ep, len);
        if (n != len) {
                rarperr(NONFATAL, "write: only %d of %d bytes written", n, len);



Home | Main Index | Thread Index | Old Index