Re: How to tell if a network interface was renamed (and from what)
- In reply to: Kristof Provost : "Re: How to tell if a network interface was renamed (and from what)"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 22 Nov 2023 01:44:43 UTC
Kristof Provost <kp@FreeBSD.org> wrote: > > I believe a similar solution has been proposed before, and it failed to cope with things like epair interfaces. > > I’d look in the direction of just adding a field to struct ifnet with the original interface name (likely easily done in if_attach()), along with a new ioctl to retrieve that field. Not knowing the intricacies of coding that, from an end user point of view, that method would be perfectly fine too (and does seem a little cleaner, even if a bit more disruptive codewise) In other words, I'd be grateful for this functionality - As an end-user, whilst my individual opinion doesn't really matter, I have no negative opinion on the various ways of achieving it - whatever works out best for you guys, and I'll be happy! Cheers!