diff options
author | Martin Pieuchot <mpi@cvs.openbsd.org> | 2013-03-20 10:34:13 +0000 |
---|---|---|
committer | Martin Pieuchot <mpi@cvs.openbsd.org> | 2013-03-20 10:34:13 +0000 |
commit | 9be5a92778d20a28277219de0503e8681fe31933 (patch) | |
tree | 55705a41be9a5135b765807e922c6fc4873ac38d /sbin | |
parent | 3ab723c5b4108351c6e97f06d1d555a7385856d4 (diff) |
Introduce if_get() to retrieve an interface descriptor pointer given
an interface index and replace all the redondant checks and accesses
to a global array by a call to this function.
With imputs from and ok bluhm@, mikeb@
Diffstat (limited to 'sbin')
0 files changed, 0 insertions, 0 deletions