diff options
author | 2013-03-20 10:34:12 +0000 | |
---|---|---|
committer | 2013-03-20 10:34:12 +0000 | |
commit | 73e6500304df9d804ba2cdf3127a1e36d5801bb1 (patch) | |
tree | c0363d2fdc9fefc8c1e00c2dd25b229494e80fcd /lib/libc | |
parent | Don't shutdown nc(1)'s network socket when stdin closes. Matches *Hobbit*'s (diff) | |
download | wireguard-openbsd-73e6500304df9d804ba2cdf3127a1e36d5801bb1.tar.xz wireguard-openbsd-73e6500304df9d804ba2cdf3127a1e36d5801bb1.zip |
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 'lib/libc')
0 files changed, 0 insertions, 0 deletions