ipfix_identifier id;
const ipfix_identifier *id;
static Template * configure_template(char *list){	Template *t;	char *l, *token;        int tmpid;        ipfix_identifier id;		/* violating the original string is not nice, so copy */	if(!(l=strdup(list))) {		goto bad_err;	}	        /* assemble the Template */	t=new Template(id);	while((token=strsep(&l, ","))) {		/*		 lookup field		 name_lookup returns -1 on error, id_lookup NULL                 make use of short circuit in C for ||		 */		if( ((tmpid=ipfix_name_lookup(token)) == -1) || ((id=ipfix_id_lookup(tmpid)) == NULL) )			msg(MSG_ERROR, "Ignoring unknown template field %s", token);                        continue;		}		msg(MSG_INFO, "Template: adding %s -> ID %d", token, id->id);		t->addField((uint16_t)id->id, (uint_16t)id->length);	}