summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Rohr <prohr@google.com>2023-06-15 21:10:25 +0000
committerPatrick Rohr <prohr@google.com>2023-06-15 21:11:50 +0000
commit46cb5812b81ff900fd07b174e858ddc1f6e89ecc (patch)
treeb854e4818e953ac57b5a6fec3a1a31c2d473b69a
parent8eff50a7f228bc2ad732c57b54afc10ab0527a6f (diff)
downloadppp-46cb5812b81ff900fd07b174e858ddc1f6e89ecc.tar.gz
pppd: fix ip-up-vpn path
/system/bin/ip-up eventually gets passed into run_program() and becomes /system/bin/ip-up-vpn: https://cs.android.com/android/platform/external/ppp/+/master:pppd/main.c;l=1803;drc=4c7b27fca0c68ef2c570769d50792f201974e0d4 This file was moved in aosp/1882449. Bug: 263463339 Test: I have not tested this. Change-Id: I9c09112a4354232063b104275dc7283551f570ea
-rw-r--r--pppd/pathnames.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/pppd/pathnames.h b/pppd/pathnames.h
index ea74736..e971ab5 100644
--- a/pppd/pathnames.h
+++ b/pppd/pathnames.h
@@ -22,7 +22,7 @@
#define _PATH_CHAPFILE _ROOT_PATH "/etc/ppp/chap-secrets"
#define _PATH_SRPFILE _ROOT_PATH "/etc/ppp/srp-secrets"
#define _PATH_SYSOPTIONS _ROOT_PATH "/etc/ppp/options"
-#define _PATH_IPUP _ROOT_PATH "/etc/ppp/ip-up"
+#define _PATH_IPUP _ROOT_PATH "/system/bin/ip-up"
#define _PATH_IPDOWN _ROOT_PATH "/etc/ppp/ip-down"
#define _PATH_IPPREUP _ROOT_PATH "/etc/ppp/ip-pre-up"
#define _PATH_AUTHUP _ROOT_PATH "/etc/ppp/auth-up"