tech-net archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Patch to implement SIOCGIFINDEX



On Apr 2, 2013, at 5:29 PM, Ty Sarna <ty%sarna.org@localhost> wrote:

> As are interface indexes, for that matter. But interface names are more
> likely to be the same across multiple attachment lifetimes. If someone
> yanks and reattaches interfaces between the time you specify an ifname
> and the time the bind happens, at least you'll get a failure or be bound
> to the same *kind* of interface, instead of something else.

Although, the odds are low that the "something else" will be compatible anyway,
so more than likely it'll still fail...


Home | Main Index | Thread Index | Old Index