Subject: Re: [PATCH net-next 2/3] netlink: specs: update rt-rule src/dst attribute types to support IPv4 addresses

From: Jakub Kicinski <[email-masked]>
Date: Thu, 6 Nov 2025 06:41:04 -0800

On Thu, 6 Nov 2025 02:34:20 +0000 Hangbin Liu wrote:
> > > The display-hint is required; otherwise, the displayed src and dst fields
> > > appear as binary data, and setting the rule’s src/dst values also fails. I
> > > haven’t checked the code yet, but with
> > >   - display-hint: ipv4
> > > the IPv6 addresses are also displayed correctly :)  
> > 
> > Heh, we should have called the hint "ip" in that case :)  
> 
> I saw the display hit supports "ipv4-or-v6", 

Ah!

> but genetlink-c.yaml doesn't have "ipv4-or-v6". Do you know why?

Probably just wasn't used until now. It should be in all the schemas.