summaryrefslogtreecommitdiff
path: root/src/libsystemd
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2014-05-10 20:16:10 +0200
committerTom Gundersen <teg@jklm.no>2014-05-10 20:56:37 +0200
commit8fe65c03fce8739c0799231e46a3ad99ec53deb3 (patch)
treeaa3c48d8102eb699c59b2d515590d32c1bb6dfff /src/libsystemd
parent66269b05cf31ef5d8f83a7150c314bf35ee8a35e (diff)
rtnl: message - fix check for broadcast messages
Diffstat (limited to 'src/libsystemd')
-rw-r--r--src/libsystemd/sd-rtnl/rtnl-message.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsystemd/sd-rtnl/rtnl-message.c b/src/libsystemd/sd-rtnl/rtnl-message.c
index 84b46afb6b..4d1b6fb198 100644
--- a/src/libsystemd/sd-rtnl/rtnl-message.c
+++ b/src/libsystemd/sd-rtnl/rtnl-message.c
@@ -1214,7 +1214,7 @@ int socket_read_message(sd_rtnl *rtnl) {
_cleanup_rtnl_message_unref_ sd_rtnl_message *m = NULL;
const NLType *nl_type;
- if (new_msg->nlmsg_pid && new_msg->nlmsg_pid != rtnl->sockaddr.nl.nl_pid)
+ if (!group && new_msg->nlmsg_pid != rtnl->sockaddr.nl.nl_pid)
/* not broadcast and not for us */
continue;