diff options
author | Tom Gundersen <teg@jklm.no> | 2015-03-13 16:12:57 +0100 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2015-03-13 16:12:57 +0100 |
commit | 3f42446d286a12292f1693d5cf9cb3ec3844e1a4 (patch) | |
tree | c0eda6f1a12d051bbd6c079518c838aba09326b6 /src/libsystemd/sd-rtnl/rtnl-internal.h | |
parent | 913b0eef1a01e0c78f0453b0174e75d5caae1023 (diff) |
sd-rtnl: improve detection of broadcast messages
Do not rely on nl_pid == 0, but check the groups instead. We currently avoid using
nl_pid == 0 for unicast anyway, so this should be redundant, but let's try to be
correct.
Diffstat (limited to 'src/libsystemd/sd-rtnl/rtnl-internal.h')
-rw-r--r-- | src/libsystemd/sd-rtnl/rtnl-internal.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libsystemd/sd-rtnl/rtnl-internal.h b/src/libsystemd/sd-rtnl/rtnl-internal.h index a192198419..05b88b1ad8 100644 --- a/src/libsystemd/sd-rtnl/rtnl-internal.h +++ b/src/libsystemd/sd-rtnl/rtnl-internal.h @@ -109,6 +109,7 @@ struct sd_rtnl_message { size_t *rta_offset_tb[RTNL_CONTAINER_DEPTH]; unsigned short rta_tb_size[RTNL_CONTAINER_DEPTH]; bool sealed:1; + bool broadcast:1; sd_rtnl_message *next; /* next in a chain of multi-part messages */ }; |