Skip to content

Fix handling of addresses and routes for VPNs

Beniamino Galvani requested to merge bg/vpn into main

Summary

Fix some issues in handling of addresses and routes for VPNs, found while implementing IPv6 support for NM-libreswan ( https://gitlab.gnome.org/GNOME/NetworkManager-libreswan/-/merge_requests/32 )

Purpose

Allow VPNs to return IP configuration with only routes, needed to support mixed IPv4-IPv6 modes.

Checklist

Please read https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/blob/main/CONTRIBUTING.md before opening the merge request. In particular, check that:

  • the subject for all commits is concise and explicative
  • the message for all commits explains the reason for the change
  • the source is properly formatted
  • any relevant documentation is up to date
  • you have added unit tests if applicable
  • the NEWS file is updated when the change deserves to be mentioned, for example for new features, behavior changes, API deprecations, etc.

Resolves: https://issues.redhat.com/browse/RHEL-21875

Edited by Beniamino Galvani

Merge request reports