chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
66269b0
)
rtnl: message - fix check for broadcast messages
author
Tom Gundersen
<teg@jklm.no>
Sat, 10 May 2014 18:16:10 +0000
(20:16 +0200)
committer
Tom Gundersen
<teg@jklm.no>
Sat, 10 May 2014 18:56:37 +0000
(20:56 +0200)
src/libsystemd/sd-rtnl/rtnl-message.c
patch
|
blob
|
history
diff --git
a/src/libsystemd/sd-rtnl/rtnl-message.c
b/src/libsystemd/sd-rtnl/rtnl-message.c
index 84b46afb6b1807ed8d2a07d27b469d4c63147480..4d1b6fb198a6bd38ace8b69e121a5f8f9e050365 100644
(file)
--- 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;