tunctl
tunctl copied to clipboard
don't down interface
for example we have two interfaces: eth1 and tap2. we connect to eth1 via ewpcap, work and than use ewpcap:close. after interface is still up. after we restart application which works with tap2 via tunctl we need every type to up interface manually like 'ifup tap2'. it's not useful to make it via tunctl:up, because application works on different nodes and we need custom configs with ips for interfaces.
is there any possibility to keep interface up? if we delete call of '_ = tunctl:down(Dev),' or 'procket:close(FD)' interface is up, but we get 'ebusy' error