On 2/1/21 8:32 PM, Thayne McCombs wrote: > I've fixed the indentation to use tabs instead of spaces. > > -- >8 -- > ss accepts an address family both with the -f option and as part of a > host condition. However, if the family in the host condition is > different than the the last -f option, then which family is actually > used depends on the order that different families are checked. > > This changes parse_hostcond to check all family prefixes before parsing > the rest of the address, so that the host condition's family always has > a higher priority than the "preferred" family. > > Signed-off-by: Thayne McCombs <astrotha...@gmail.com> > --- > misc/ss.c | 50 ++++++++++++++++++++++++-------------------------- > 1 file changed, 24 insertions(+), 26 deletions(-) > >
applied to iproute2-next. Thanks