device: make device incompatible with profiles by default

System Internals / NetworkManager - Thomas Haller [redhat.com] - 10 September 2018 09:11 EDT

Currently, NMDeviceWireguard does neither set connection_type_check_compatible nor implement check_connection_compatible. That means, it appears to be compatible with every connection profile, which is obviously wrong.

Allow devices not to implement check_connection_compatible() and avoid the issue by rejecting profiles by default.

baa000831 device: make device incompatible with profiles by default
src/devices/nm-device.c | 8 ++++++++
1 file changed, 8 insertions(+)

Upstream: cgit.freedesktop.org


  • Share