mirror of /home/gitosis/repositories/libowfat.git
Mirror of :pserver:cvs@cvs.fefe.de:/cvs libowfat
https://www.fefe.de/libowfat/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
241 B
14 lines
241 B
![]()
19 years ago
|
#include "fmt.h"
|
||
|
#include "byte.h"
|
||
|
#include "ip4.h"
|
||
|
#include "ip6.h"
|
||
|
|
||
|
unsigned int fmt_ip6ifc(char *s,const char ip[16],uint32 scope_id)
|
||
|
{
|
||
|
if (ip6_isv4mapped(ip))
|
||
|
return fmt_ip4(s,ip+12);
|
||
|
else
|
||
|
return fmt_ip6if(s,ip,scope_id);
|
||
|
}
|
||
|
|