[PATCH 0/2] add 2 new match filters to nm-settings



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]