Hi,

On Tue, Sep 04, 2018 at 07:15:44PM +0200, Phil Sutter wrote:
[...]
> diff --git a/ip/iproute.c b/ip/iproute.c
> index 30833414a3f7f..9e5ae48c0715c 100644
> --- a/ip/iproute.c
> +++ b/ip/iproute.c
[...]
> @@ -1036,15 +1044,18 @@ static int parse_nexthops(struct nlmsghdr *n, struct 
> rtmsg *r,
>               memset(rtnh, 0, sizeof(*rtnh));
>               rtnh->rtnh_len = sizeof(*rtnh);
>               rta->rta_len += rtnh->rtnh_len;
> -             if (parse_one_nh(n, r, rta, rtnh, &argc, &argv)) {
> +             if (parse_one_nh(n, r, rta, 1024, rtnh, &argc, &argv)) {
>                       fprintf(stderr, "Error: cannot parse nexthop\n");
>                       exit(-1);
>               }
>               rtnh = RTNH_NEXT(rtnh);
>       }
>  
> +             return 0;
> +

This line got added by accident, I'll respin.

Sorry, Phil

Reply via email to