termux-packages/packages/net-tools/rarp.c.patch

13 lines
906 B
Diff

diff -uNr net-tools-2.10/rarp.c net-tools-2.10.mod/rarp.c
--- net-tools-2.10/rarp.c 2021-01-07 01:22:35.000000000 +0200
+++ net-tools-2.10.mod/rarp.c 2021-01-07 15:53:56.531418504 +0200
@@ -179,7 +179,7 @@
fprintf(fp, _("Usage: rarp -a list entries in cache.\n"));
fprintf(fp, _(" rarp -d <hostname> delete entry from cache.\n"));
fprintf(fp, _(" rarp [<HW>] -s <hostname> <hwaddr> add entry to cache.\n"));
- fprintf(fp, _(" rarp -f add entries from /etc/ethers.\n"));
+ fprintf(fp, _(" rarp -f add entries from @TERMUX_PREFIX@/etc/ethers.\n"));
fprintf(fp, _(" rarp -V display program version.\n\n"));
fprintf(fp, _(" <HW>=Use '-H <hw>' to specify hardware address type. Default: %s\n"), DFLT_HW);