diff options
author | Tom Gundersen <teg@jklm.no> | 2014-03-16 13:02:16 +0100 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2014-03-16 13:05:04 +0100 |
commit | 1f0db3ed88015a0510b8bf4723af2121ee55d9a8 (patch) | |
tree | aabad4190b147ce043793385e71468e61e8e7f6e /src/systemd/sd-rtnl.h | |
parent | e09826dcf13a17cd63d900502282c511a06ecbe8 (diff) |
sd-rtnl: never treat broadcasts as replies
Otherwise the sequence number of a broadcast may match the sequence number of a
pending unicast message and cause confusion.
Diffstat (limited to 'src/systemd/sd-rtnl.h')
-rw-r--r-- | src/systemd/sd-rtnl.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/systemd/sd-rtnl.h b/src/systemd/sd-rtnl.h index a171978bc..0a2487351 100644 --- a/src/systemd/sd-rtnl.h +++ b/src/systemd/sd-rtnl.h @@ -78,6 +78,7 @@ sd_rtnl_message *sd_rtnl_message_unref(sd_rtnl_message *m); int sd_rtnl_message_get_errno(sd_rtnl_message *m); int sd_rtnl_message_get_type(sd_rtnl_message *m, uint16_t *type); +int sd_rtnl_message_is_broadcast(sd_rtnl_message *m); int sd_rtnl_message_addr_set_prefixlen(sd_rtnl_message *m, unsigned char prefixlen); int sd_rtnl_message_addr_set_scope(sd_rtnl_message *m, unsigned char scope); |