diff options
author | brian <brian@FreeBSD.org> | 1998-01-24 00:03:14 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 1998-01-24 00:03:14 +0000 |
commit | 4b6b8906a0c02b422b4718a8aaa5b3785d58d7a2 (patch) | |
tree | 7367b045813f92f62d1839d31710bb407cabb27a /usr.sbin | |
parent | 2fa1051841b88a04063487e7ca46211ab87d9412 (diff) | |
download | FreeBSD-src-4b6b8906a0c02b422b4718a8aaa5b3785d58d7a2.zip FreeBSD-src-4b6b8906a0c02b422b4718a8aaa5b3785d58d7a2.tar.gz |
Fix error message.
Don't complicate the test compilation mentioned at the start of
the file.
Diffstat (limited to 'usr.sbin')
-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 4651159..b62f940 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.25 1998/01/23 21:37:27 brian Exp $ + * $Id: arp.c,v 1.26 1998/01/23 22:29:16 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; } |