termux-packages/packages/iproute2/misc-arpd.c.patch

12 lines
215 B
Diff
Raw Normal View History

2021-11-24 12:51:25 +01:00
--- 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;