Is there an way for a program to know when the list of network interfaces has changed (without rescanning them)?

Michael Tuexen tuexen at freebsd.org
Mon Jul 29 15:39:44 UTC 2019



> On 29. Jul 2019, at 16:16, Rodney W. Grimes <freebsd-rwg at gndrsh.dnsmgr.net> wrote:
> 
>> I am asking because wireshark doesn't sense the interface list changes, 
>> and it just always shows the list from the time it was launched .
Does it also not show up after selecting Capture/Refresh Interfaces?

Best regards
Michael
> 
> I am cc'ing Michael Tuexen <tuexen at FreeBSD.org>,
> both a FreeBSD and long time wireshare developer.
> 
> I see there has been at least 2 ways proposed to you for
> doing this, I would suggest using the route socket as the
> prefered method as that should be some what portable
> accross all the BSD type platforms, a devd solution would
> be FreeBSD specific.
> 
> 
>> Yuri
> -- 
> Rod Grimes                                                 rgrimes at freebsd.org
> _______________________________________________
> freebsd-net at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscribe at freebsd.org"



More information about the freebsd-net mailing list