summaryrefslogtreecommitdiff
path: root/sysdep
diff options
context:
space:
mode:
authorOndrej Zajicek <santiago@crfreenet.org>2012-08-06 11:09:13 +0200
committerOndrej Zajicek <santiago@crfreenet.org>2012-08-06 11:09:13 +0200
commitc06de722ddf36f3d6aaabfd4ae9d74a3ea72bbf9 (patch)
tree9d0a20e90aece34f11a8bdcba0408c3bed491c05 /sysdep
parent5400c0e7f982757418a0aeb892459b52fbbcffc3 (diff)
Some minor fixes.
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 eaaf048e..d1b203ef 100644
--- a/sysdep/linux/netlink.c
+++ b/sysdep/linux/netlink.c
@@ -737,7 +737,7 @@ nl_parse_route(struct nlmsghdr *h, int scan)
(a[RTA_GATEWAY] && RTA_PAYLOAD(a[RTA_GATEWAY]) != sizeof(ip_addr)) ||
(a[RTA_PRIORITY] && RTA_PAYLOAD(a[RTA_PRIORITY]) != 4) ||
(a[RTA_PREFSRC] && RTA_PAYLOAD(a[RTA_PREFSRC]) != sizeof(ip_addr)) ||
- (a[RTA_FLOW] && RTA_PAYLOAD(a[RTA_OIF]) != 4))
+ (a[RTA_FLOW] && RTA_PAYLOAD(a[RTA_FLOW]) != 4))
{
log(L_ERR "KRT: Malformed message received");
return;