diff options
author | Marc-Antoine Perennou <Marc-Antoine@Perennou.com> | 2013-12-17 14:13:57 +0900 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2013-12-17 00:45:19 -0500 |
commit | b9eaf3d1ebc839dc30dbbee9ce080855b3f002c0 (patch) | |
tree | 6e04e58ea4cefe640f1b2b2c38c57ceaf3973859 /src | |
parent | e7335f549182233c80fed5dcedeade6d64ed354b (diff) |
rtnl: fix for 32bits
Commit 0a0dc69b655cfb10cab39133f5d521e7b35ce3d5 broke tests for 32 bits
Diffstat (limited to 'src')
-rw-r--r-- | src/libsystemd-rtnl/rtnl-message.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsystemd-rtnl/rtnl-message.c b/src/libsystemd-rtnl/rtnl-message.c index 264cca004f..c62eca9fae 100644 --- 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; |