diff options
author | Ondrej Zajicek <santiago@crfreenet.org> | 2012-08-06 11:09:13 +0200 |
---|---|---|
committer | Ondrej Zajicek <santiago@crfreenet.org> | 2012-08-06 11:09:13 +0200 |
commit | c06de722ddf36f3d6aaabfd4ae9d74a3ea72bbf9 (patch) | |
tree | 9d0a20e90aece34f11a8bdcba0408c3bed491c05 /sysdep | |
parent | 5400c0e7f982757418a0aeb892459b52fbbcffc3 (diff) |
Some minor fixes.
Diffstat (limited to 'sysdep')
-rw-r--r-- | sysdep/linux/netlink.c | 2 |
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; |