Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
network-manager: give path to pppd executable
This fixes an issue I have faced when trying to connect to the internet via wwan gsm modem.
- Loading branch information
Showing
2 changed files
with
15 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/src/ppp-manager/nm-ppp-manager.c b/src/ppp-manager/nm-ppp-manager.c | ||
index 89a7add..ae99eb4 100644 | ||
--- a/src/ppp-manager/nm-ppp-manager.c | ||
+++ b/src/ppp-manager/nm-ppp-manager.c | ||
@@ -843,7 +843,7 @@ create_pppd_cmd_line (NMPPPManager *self, | ||
|
||
g_return_val_if_fail (setting != NULL, NULL); | ||
|
||
- pppd_binary = nm_utils_find_helper ("pppd", NULL, err); | ||
+ pppd_binary = nm_utils_find_helper ("pppd", PPPD_PATH, err); | ||
if (!pppd_binary) | ||
return NULL; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters