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)
committerPeter Michael Green <plugwash@raspbian.org>
Thu, 20 Sep 2018 20:22:45 +0000 (21:22 +0100)
commitf09f1e43bbcb6fa21a70345f3600d3204acde6c3
tree7ae796f3aacfd39af1d423e6ef4495a4ad26ecd5
parent0b4cba4dd1d03dee79c21b386de23e4f3b7c697f
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