char *ifname[5] = {0};
char *port_num[10] = {0};
for(i=0; i
memset(ifname[i], 0x00, 32);
port_num[i] = (char*)malloc(4);
memset(port_num[i], 0x00, 4);
}
for(i=0; i
{
free(ifname[i]);
}
if(port_num[i] != NULL)
{
free(port_num[i]);
}
}
for(i=0; i
{
free(netns_port_mac[i]);
}
if(netns_port_num[i] != NULL)
{
free(netns_port_num[i]);
}
}