NetworkManager/src/core/ppp
Ben Hagen bd0a6356eb pppd-plugin: fix gateway for PPP connections without carrier-provided remote IP
During the dbus-glib to GDBus port in 89228569f (2014), the last-resort
gateway in nm_ip_up() was accidentally changed from peer_opts.hisaddr to
peer_opts.ouraddr. peer_opts.ouraddr is typically 0 when IPCP does not
provide a peer address, causing gateway=0 and broken PPP connectivity
probing/routing behavior.

Restore the original behavior from 369299271 (2008).

Fixes: 89228569f8 ('ppp-manager: port nm-pppd-plugin from dbus-glib to gdbus')
2026-04-09 08:00:12 +00:00
..
meson.build ppp: move ppp code to "nm-pppd-compat.c" 2023-04-17 18:27:50 +02:00
nm-ppp-manager-call.c format: reformat source tree with clang-format 13.0 2021-11-29 09:31:09 +00:00
nm-ppp-manager-call.h format: reformat source tree with clang-format 13.0 2021-11-29 09:31:09 +00:00
nm-ppp-manager.c core: simplify nm_l3_config_data_add_nameserver_detail() 2025-01-07 15:41:43 +01:00
nm-ppp-manager.h format: reformat source tree with clang-format 13.0 2021-11-29 09:31:09 +00:00
nm-ppp-mgr.c format: run nm-code-format 2024-10-04 11:07:35 +02:00
nm-ppp-mgr.h format: reformat source tree with clang-format 13.0 2021-11-29 09:31:09 +00:00
nm-ppp-plugin-api.h format: reformat source tree with clang-format 13.0 2021-11-29 09:31:09 +00:00
nm-ppp-plugin.ver all: move "src/" directory to "src/core/" 2021-02-04 09:45:55 +01:00
nm-ppp-status.h src: drop most master references from the code 2024-08-09 15:47:32 +02:00
nm-pppd-compat.c format: run nm-code-format 2024-10-04 11:07:35 +02:00
nm-pppd-compat.h Revert "ppp: fix plugin name for "rp-pppoe.so" with ppp 2.5" 2023-06-07 14:24:17 +02:00
nm-pppd-plugin.c pppd-plugin: fix gateway for PPP connections without carrier-provided remote IP 2026-04-09 08:00:12 +00:00
nm-pppd-plugin.h all: move "src/" directory to "src/core/" 2021-02-04 09:45:55 +01:00