]> git.ipfire.org Git - thirdparty/openvpn.git/commit
openvpnmsica, tapctl: Revise default hardware ID management
authorSimon Rozman <simon@rozman.si>
Mon, 9 Mar 2020 13:17:26 +0000 (14:17 +0100)
committerGert Doering <gert@greenie.muc.de>
Tue, 24 Mar 2020 15:03:15 +0000 (16:03 +0100)
commit50d68142f0926850122a78a6ca661d6778efacb3
tree125aaca63f28238216c99bbe55b16138437d6acb
parentd263e4f300553ea77f1bf16538bcd0e81ed2e302
openvpnmsica, tapctl: Revise default hardware ID management

tap_create_adapter() and tap_list_adapter() no longer default to
"root\tap0901". Defining a default hardware ID value is at the
responsibility of upper layers that process user desires.

Since the tap_list_adapter() no longer defaults the hardware ID to
anything, its behavior was simplified to return all existing
adapters when a NULL hardware ID is specified.

Signed-off-by: Simon Rozman <simon@rozman.si>
Acked-by: Lev Stipakov <lstipakov@gmail.com>
Message-Id: <20200309131728.380-10-simon@rozman.si>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg19524.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
src/openvpnmsica/openvpnmsica.c
src/tapctl/main.c
src/tapctl/tap.c
src/tapctl/tap.h