[PATCH 0/2] add 2 new match filters to nm-settings
- From: Adrian Freihofer <adrian freihofer gmail com>
- To: networkmanager-list gnome org
- Cc: Adrian Freihofer <adrian freihofer siemens com>
- Subject: [PATCH 0/2] add 2 new match filters to nm-settings
- Date: Sat, 7 Mar 2020 11:47:53 +0100
Basically it already seems to work. But I will test it further.
I'd like to know what, if anything, has to be changed for you to accept it.
Usage example:
[match]
interface-name=eth0;
driver=*virtio*;
kernel-command-line=!foo=bar;
Adrian Freihofer (2):
settings: add match for proc cmdline
settings: add match for driver
clients/common/nm-meta-setting-desc.c | 90 +++++++
clients/common/settings-docs.h.in | 2 +
libnm-core/nm-setting-match.c | 348 ++++++++++++++++++++++++++
libnm-core/nm-setting-match.h | 38 +++
libnm/libnm.ver | 14 ++
src/devices/nm-device.c | 29 ++-
6 files changed, 520 insertions(+), 1 deletion(-)
--
2.24.1
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]