termux-packages/packages/iproute2/misc-arpd.c.patch
2021-12-05 14:24:28 +01:00

12 lines
215 B
Diff

--- a/misc/arpd.c
+++ b/misc/arpd.c
@@ -39,7 +39,7 @@
#include "rt_names.h"
DB *dbase;
-char *dbname = "/var/lib/arpd/arpd.db";
+char *dbname = "@TERMUX_PREFIX@/var/lib/arpd/arpd.db";
int ifnum;
int *ifvec;