Subject: Re: [iproute PATCH] ip-route: Propagate errors from parse_one_nh()

From: Phil Sutter <[email-masked]>
Date: Wed, 24 Jan 2018 12:08:56 +0100

On Tue, Jan 23, 2018 at 02:44:42PM -0800, Stephen Hemminger wrote:
[...]
> Also, it looks like read_family converts any address family it doesn't know about to unspec
> that is stupid behavior as well.

I had a closer look and it is the best thing it could do. In all but one
cases, the function is called to parse an optional family spec so
parsing failure is expected behaviour.

Cheers, Phil