rem: layer->type = (t ? strdup(t) : joker_type);
add: layer->type = (t ? string_to_token(t) : g_joker_token);
context: static net_layer * new_layer(const char *name, const char *type, int priority,	net_layer_module_info *module, void *cookie){	net_layer *layer;	if (! g_layers_pool)		g_layers_pool = g_memory_pool->new_pool(sizeof(*layer), LAYERS_PER_POOL);				if (! g_layers_pool)		return NULL;		layer = (net_layer *) g_memory_pool->new_pool_node(g_layers_pool);	if (! layer)		return NULL;	layer->name 	= strdup(name);	if (type) {		char *tmp, *t, *n;				tmp = strdup(type);		t = strtok_r(tmp, "/", &n);		layer->type = (t ? strdup(t) : joker_type);		t =  strtok_r(NULL, " ", &n);		layer->sub_type = (t ? strdup(t) : joker_type);		free(tmp);	} else		layer->type = layer->sub_type = NULL;	layer->priority = priority; 	layer->module 	= module;	layer->cookie 	= cookie;	layer->layers_above = NULL;	layer->layers_below = NULL;	return layer;}