On Wed, Mar 7, 2012 at 12:49 AM, Juli Mallett <jmall...@freebsd.org> wrote:

>  In general, interfaces do
> not come from the configuration files like rc.conf, however the way
> that those interfaces are set up on boot is configured by files like
> rc.conf.
>

Thanks Juli.
So, does it mean that looking at getifaddrs() is the best way (as ifconfig
is doing) to get the correct state of network interfaces at any point in
time?
And for the interface of your interest, you can check if rc.conf is
specifying any persistent configuration or not.

Hiren
_______________________________________________
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"

Reply via email to