mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-07 11:00:31 +01:00
This patch lets pppd negotiate IPv6 parameters using IPV6CP. It allows dual-stack mobile broadband to work correctly. Due to the fact that ModemManager hard-codes use of IPv4-only PDP type, the PDP context must manually be defined first using for example AT+CGDCONT=1,"IPV4V6","apn". (ModemManager does not overwrite an already-defined PDP context with the correct APN.) IPV6CP is not considered essential, so when connecting using an IPv4- only PDP context, pppd gives up after a retransmitting a few IPV6CP ConfReqs. The retransmissions happen asynchronously, pppd nor NM waits for them to finish before activating the IPv4 part of the connections. The patch also makes pppd support IPv6-only connections (because IPCP isn't considered essential by pppd either), however NM will currently fail the entire connection if IPCP/IPv4 doesn't succeed. |
||
|---|---|---|
| .. | ||
| Makefile.am | ||
| nm-ppp-manager.c | ||
| nm-ppp-manager.h | ||
| nm-ppp-status.h | ||
| nm-pppd-plugin.c | ||
| nm-pppd-plugin.h | ||