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)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sat, 7 Jul 2018 11:48:59 +0000 (13:48 +0200)
commit25ea58d37385af27301b7ad25e985eb15f421614
treebc4adfff764570715b6578c4b9997f3061b1cc37
parentff9d955b1546bdebf9c99fb8ad065ef7c7dc72a2
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.
src/libsystemd-network/network-internal.c