Include the fact we're making replies in the debug() output.

This commit is contained in:
abs 2000-08-30 11:01:43 +00:00
parent 9cf3724e46
commit 7a26b9af55
1 changed files with 4 additions and 2 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: rarpd.c,v 1.37 2000/04/13 09:12:16 itojun Exp $ */
/* $NetBSD: rarpd.c,v 1.38 2000/08/30 11:01:43 abs Exp $ */
/*
* Copyright (c) 1990 The Regents of the University of California.
@ -28,7 +28,7 @@ __COPYRIGHT(
#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.38 2000/08/30 11:01:43 abs Exp $");
#endif
@ -939,6 +939,8 @@ rarp_reply(ii, ep, ipaddr, hp)
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)));