termux-packages/packages/softether-vpn/src-Cedar-Cedar.c.patch

12 lines
308 B
Diff
Raw Normal View History

2022-01-09 06:19:33 +01:00
--- a/src/Cedar/Cedar.c
+++ b/src/Cedar/Cedar.c
@@ -1290,7 +1290,7 @@
// Initialize net service list
void InitNetSvcList(CEDAR *cedar)
{
- char filename[MAX_PATH] = "/etc/services";
+ char filename[MAX_PATH] = "@TERMUX_PREFIX@/etc/services";
BUF *b;
// Validate arguments
if (cedar == NULL)