aboutsummaryrefslogtreecommitdiffstats
path: root/sysdep
diff options
context:
space:
mode:
authorPavel TvrdĂ­k <pawel.tvrdik@gmail.com>2015-11-09 09:14:26 +0100
committerOndrej Zajicek (work) <santiago@crfreenet.org>2015-11-11 11:46:38 +0100
commitfce764f90e8331d1adb6a85ec00136dfeae1a398 (patch)
treed16fe3afbffeeb7d930bceeb63695740cff84f1c /sysdep
parent9ddbfbddf87462bbf50437bdc1d44499a5c223e7 (diff)
downloadbird-fce764f90e8331d1adb6a85ec00136dfeae1a398.tar.gz
Fix compiling with --enable-debug option
Diffstat (limited to 'sysdep')
-rw-r--r--sysdep/linux/netlink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdep/linux/netlink.c b/sysdep/linux/netlink.c
index db998926..f2f60100 100644
--- a/sysdep/linux/netlink.c
+++ b/sysdep/linux/netlink.c
@@ -246,7 +246,7 @@ nl_parse_attrs(struct rtattr *a, struct rtattr **k, int ksize)
return 1;
}
-static inline ip4_addr rta_get_u32(struct rtattr *a)
+static inline u32 rta_get_u32(struct rtattr *a)
{ return *(u32 *) RTA_DATA(a); }
static inline ip4_addr rta_get_ip4(struct rtattr *a)