Commit 42d3236
Fix support for --pppd-plugin (passing plugin to pppd)
Running pppd with plugin specified requires "plugin <plugin>" syntax.
While removing support for deprecated --plugin option the "plugin" part
was accidentally dropped. This introduced regression: --pppd-plugin
doesn't work anymore.
This change fixes:
NetworkManager[22657]: DEBUG: Starting IO through the tunnel
NetworkManager[22657]: DEBUG: pppd_read thread
NetworkManager[22657]: DEBUG: ssl_read thread
NetworkManager[22657]: DEBUG: ssl_write thread
NetworkManager[22657]: DEBUG: if_config thread
NetworkManager[22659]: /usr/sbin/pppd: unrecognized option '/usr/lib64/pppd/2.4.7/nm-fortisslvpn-pppd-plugin.so'
NetworkManager[22659]: pppd version 2.4.7
NetworkManager[22659]: Usage: /usr/sbin/pppd [ options ], where options are:
NetworkManager[22659]: <device> Communicate over the named device
NetworkManager[22659]: <speed> Set the baud rate to <speed>
NetworkManager[22659]: <loc>:<rem> Set the local and/or remote interface IP
NetworkManager[22659]: addresses. Either one may be omitted.
NetworkManager[22659]: asyncmap <n> Set the desired async map to hex <n>
NetworkManager[22659]: auth Require authentication from peer
NetworkManager[22659]: connect <p> Invoke shell command <p> to set up the serial line
NetworkManager[22659]: crtscts Use hardware RTS/CTS flow control
NetworkManager[22659]: defaultroute Add default route through interface
NetworkManager[22659]: file <f> Take options from file <f>
NetworkManager[22659]: modem Use modem control lines
NetworkManager[22659]: mru <n> Set MRU value to <n> for negotiation
NetworkManager[22659]: See pppd(8) for more options.
pppd[22659]: unrecognized option '/usr/lib64/pppd/2.4.7/nm-fortisslvpn-pppd-plugin.so'
Fixes: 912f1af ("Remove deprecated option `--plugin`")
Signed-off-by: Rafał Miłecki <[email protected]>1 parent 9230413 commit 42d3236
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
357 | 357 | | |
358 | 358 | | |
359 | 359 | | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
360 | 364 | | |
361 | 365 | | |
362 | 366 | | |
| |||
0 commit comments