On Aug 15, 2012, at 05:53:40, Gert Doering <g...@greenie.muc.de> wrote:
> Hi, > > On Wed, Aug 15, 2012 at 12:00:12PM +0200, Gert Doering wrote: >> 3 - check for the existance of "--dev tap3" and remember, not cleaning >> if it existed previously, doing this with RT_NETLINK which should >> be sufficiently portable across all BSDs. Same advantage as "2", >> hopefully much nicer implementation. > > Here we go. I discovered if_nametoindex(), which is really handy for > this :-) > > Eric, please test whether this solves your issues. > > David, please do *not yet* commit, even if someone ACKs - I need to test > this on OpenBSD, NetBSD and FreeBSD 9 as well. So far, only tested on > FreeBSD 7.4 (and works). I'm comfortable giving my ACK to this patch. ----- Eric F Crist