network/link: Fix logic error in matching devices by MAC
authorDave Reisner <dreisner@archlinux.org>
Sat, 7 Jul 2018 09:39:01 +0000 (05:39 -0400)
committerMichael Biebl <biebl@debian.org>
Fri, 7 Sep 2018 06:41:12 +0000 (07:41 +0100)
commitd339c146aeaeb14ee8f308b44aa1bc27ea519440
tree7bee8619f3e619d4a4f497423e3fdd691ec4ee18
parent4dc1692d0cb0b18233c559a7c41bddaca9ef55ab
network/link: Fix logic error in matching devices by MAC

Prior to this commit, a .link file with a [Match] section containing
MACAddress= would match any device without a MAC. This restores the
matching logic prior to e90d037.

(cherry picked from commit 25ea58d37385af27301b7ad25e985eb15f421614)

Gbp-Pq: Name network-link-Fix-logic-error-in-matching-devices-by-MAC.patch
src/libsystemd-network/network-internal.c