summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 2e511ca)
raw | patch | inline | side by side (parent: 2e511ca)
author | Marek Becka <marek.becka@superhosting.cz> | |
Thu, 23 Jan 2014 18:02:56 +0000 (19:02 +0100) | ||
committer | Marek Becka <marek.becka@superhosting.cz> | |
Thu, 23 Jan 2014 18:02:56 +0000 (19:02 +0100) |
src/netlink.c | patch | blob | history |
diff --git a/src/netlink.c b/src/netlink.c
index 5e670d4ea7c440852ddbd7df619dcf9c9c70fca0..de2de9b51095cc2f70e5dc65f702dcb97b4b8d2a 100644 (file)
--- a/src/netlink.c
+++ b/src/netlink.c
} /* void check_ignorelist_and_submit */
-#define COPY_RTNL_LINK_VALUE (dst_stats, src_stats, value_name) \
+#define COPY_RTNL_LINK_VALUE(dst_stats, src_stats, value_name) \
(dst_stats)->value_name = (src_stats)->value_name
-#define COPY_RTNL_LINK_STATS (dst_stats, src_stats) \
+#define COPY_RTNL_LINK_STATS(dst_stats, src_stats) \
COPY_RTNL_LINK_VALUE (dst_stats, src_stats, rx_packets); \
COPY_RTNL_LINK_VALUE (dst_stats, src_stats, tx_packets); \
COPY_RTNL_LINK_VALUE (dst_stats, src_stats, rx_bytes); \