diff options
author | Simon Rozman <simon@rozman.si> | 2020-07-07 15:42:39 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2020-10-30 16:50:58 +0100 |
commit | d3a63116bae420db751bb2243f72baaa3b61c441 (patch) | |
tree | f6efa29387261a51750861e98acc66d9b85974be /api/registry.c | |
parent | api: port nci package from wireguard-go (diff) | |
download | wintun-d3a63116bae420db751bb2243f72baaa3b61c441.tar.xz wintun-d3a63116bae420db751bb2243f72baaa3b61c441.zip |
api: port GetInterface member from wireguard-go
Mind that this also fixes the order of adapter detection checks. A fast
test to eliminate non-Wintun adapters from iteration to speed things up
rendered the method incapable of detecting a non-Wintun adapter with the
name we are looking for.
ERROR_OBJECT_NOT_FOUND was replaced with ERROR_FILE_NOT_FOUND.
Signed-off-by: Simon Rozman <simon@rozman.si>
Diffstat (limited to 'api/registry.c')
0 files changed, 0 insertions, 0 deletions