Message ID | 1347438597-4233-1-git-send-email-nicolas.dichtel@6wind.com |
---|---|
State | RFC, archived |
Delegated to: | David Miller |
Headers | show |
diff --git a/ip/iproute.c b/ip/iproute.c index 2fe44b3..b71f150 100644 --- a/ip/iproute.c +++ b/ip/iproute.c @@ -693,8 +693,10 @@ int parse_nexthops(struct nlmsghdr *n, struct rtmsg *r, int argc, char **argv) rtnh = RTNH_NEXT(rtnh); } - if (rta->rta_len > RTA_LENGTH(0)) + if (rta->rta_len > RTA_LENGTH(0)) { addattr_l(n, 1024, RTA_MULTIPATH, RTA_DATA(rta), RTA_PAYLOAD(rta)); + n->nlmsg_flags &= ~NLM_F_EXCL; + } return 0; }