diff options
author | brian <brian@cvs.openbsd.org> | 1998-01-24 00:00:34 +0000 |
---|---|---|
committer | brian <brian@cvs.openbsd.org> | 1998-01-24 00:00:34 +0000 |
commit | d8079ad6cdd9d69a418e278e21329309e50d6496 (patch) | |
tree | 0a103700f22d98c932d60e0f16c6296863a32596 /usr.sbin/ppp/arp.c | |
parent | 56fd1450a2e4e7051eb89687027a291dbb04e83c (diff) |
Fix error message.
Don't complicate the test compilation mentioned at the start of
the file.
Diffstat (limited to 'usr.sbin/ppp/arp.c')
-rw-r--r-- | usr.sbin/ppp/arp.c | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/usr.sbin/ppp/arp.c b/usr.sbin/ppp/arp.c index b2fc59ad8be..be66deee71b 100644 --- a/usr.sbin/ppp/arp.c +++ b/usr.sbin/ppp/arp.c @@ -17,7 +17,7 @@ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. * - * $Id: arp.c,v 1.9 1998/01/23 22:26:34 brian Exp $ + * $Id: arp.c,v 1.10 1998/01/24 00:00:33 brian Exp $ * */ @@ -55,15 +55,9 @@ #ifdef DEBUG /* - * To test the proxy arp stuff, put the following in your Makefile: + * To test the proxy arp stuff, just * - * arp-test: arp.c - * cp ${.CURDIR}/arp.c arp-test.c - * echo 'const char *' >>arp-test.c - * awk '/^Index2Nam/,/^}/' ${.CURDIR}/route.c >>arp-test.c - * cc -I${.CURDIR} -DDEBUG arp-test.c -o arp-test - * - * and type ``make arp-test''. + * cc -o arp-test -DDEBUG arp.c * */ #define LogIsKept(x) 1 @@ -262,7 +256,8 @@ get_ether_addr(int s, struct in_addr ipaddr, struct sockaddr_dl *hwaddr) mib[5] = 0; if (sysctl(mib, 6, NULL, &needed, NULL, 0) < 0) { - LogPrintf(LogERROR, "Index2Nam: sysctl: estimate: %s\n", strerror(errno)); + LogPrintf(LogERROR, "get_ether_addr: sysctl: estimate: %s\n", + strerror(errno)); return 0; } |