chiark / gitweb /
network-internal: chain matches with AND in net_match_config()
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 13 Feb 2015 23:38:22 +0000 (18:38 -0500)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 16 Feb 2015 18:16:46 +0000 (13:16 -0500)
commitee5de57b9d474161df259e7faa958fa9d7bbd736
tree136d0dfc1d8a691bbb734c8fcb583ac8856c7179
parentbceccd5ecc393c344ab008737ba6aab211a5ea9f
network-internal: chain matches with AND in net_match_config()

The test would treat the first non-empty set of matches in
match_paths, match_drivers, match_types, match_names as definitive
(essentially chaining them with OR). Make those tests instead match
like other tests and require all to pass if the set of patterns is
nonempty.
src/libsystemd-network/network-internal.c