if (ret_templates < 0) { DPRINTF ("ipfix_send: sending templates failed!\n");
if(ret_templates < 0) { msg(MSG_ERROR, "IPFIX: sending templates failed");
int ipfix_send(ipfix_exporter *exporter){	int ret_templates, ret_data;	int ret = 0;	ret_templates = ipfix_send_templates(exporter);	ret_data = ipfix_send_data(exporter);		if ((ret_templates > 0) || (ret_data > 0) ) {		// we did send some data:		exporter->sequence_number++;		return 0;	}	if (ret_templates < 0) {		DPRINTF ("ipfix_send: sending templates failed!\n");		ret = -1;	}	if (ret_data < 0) {		DPRINTF ("ipfix_send: sending data failed!\n");		ret = -1;	}	return ret;}