chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
core: priorize notification fd processing over notification fd process via sd-event...
[elogind.git]
/
src
/
libsystemd-rtnl
/
rtnl-message.c
diff --git
a/src/libsystemd-rtnl/rtnl-message.c
b/src/libsystemd-rtnl/rtnl-message.c
index 264cca004fe40d5379b5f0feb40254a6ffaf7226..c62eca9fae33cf38c9ea6e9b0b9c52d36da64678 100644
(file)
--- a/
src/libsystemd-rtnl/rtnl-message.c
+++ b/
src/libsystemd-rtnl/rtnl-message.c
@@
-601,7
+601,7
@@
int sd_rtnl_message_append_ether_addr(sd_rtnl_message *m, unsigned short type, c
return -ENOTSUP;
}
- r = add_rtattr(m, type, data,
sizeof(data)
);
+ r = add_rtattr(m, type, data,
ETH_ALEN
);
if (r < 0)
return r;