ip tuntap: Add checking if tun/tap mode was set by default
This checking was performed only when adding interface but
it is needed also when deleting, otherwise the error will be:
ioctl(TUNSETIFF): Invalid argument
Signed-off-by:
Vadim Kochan <vadim4j@gmail.com>
Showing
Please register or sign in to comment