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>
Sat, 17 Nov 2018 17:39:21 +0000 (17:39 +0000)
commit3c37debc73846aa6ba96389fdd4194d8732507db
treea3fd2d802565751c50fad11bad23cd8befe61a42
parenta681fee1cc231865343df50b962f5071c8865f8a
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