/* Register protocol dependent address dumping routines. The handler that is passed must not be freed or reused until it has been replaced by another handler.  */
int register_gifconf(unsigned int family, gifconf_func_t *gifconf)
/* Register protocol dependent address dumping routines. The handler that is passed must not be freed or reused until it has been replaced by another handler.  */
int register_gifconf(unsigned int family, gifconf_func_t *gifconf)
{
	if (family >= NPROTO)
		return -EINVAL;
	gifconf_list[family] = gifconf;
	return 0;
}