Some changes to the TUN/TAP code