mirror of
https://github.com/ChronosX88/netsukuku.git
synced 2024-11-22 10:12:18 +00:00
always more work to do
This commit is contained in:
parent
2cc1ce7892
commit
dd2e7d5649
@ -366,9 +366,11 @@ int
|
||||
exclude_interface(void)
|
||||
{
|
||||
int i;
|
||||
|
||||
printf("Number of Interfaces in Use: %d\n", server_opt.ifs_n);
|
||||
printf("Interface names in Use: %s", (char *) server_opt.ifs);
|
||||
|
||||
printf("Number of Interfaces in Use: %d\n", me.cur_ifs_n);
|
||||
|
||||
for (i = 0; i < me.cur_ifs_n; i++)
|
||||
printf("Interface names in Use: %s", me.cur_ifs[i].dev_name);
|
||||
|
||||
for (i = 0; i < me.cur_ifs_n; i++) {
|
||||
if (strcmp(me.cur_ifs[i].dev_name, optarg) == 0) {
|
||||
@ -377,8 +379,9 @@ exclude_interface(void)
|
||||
ifs_del(me.cur_ifs, &me.cur_ifs_n, i);
|
||||
return 0;
|
||||
}
|
||||
else
|
||||
fatal("Interface %s not found!", optarg);
|
||||
}
|
||||
fatal("Interface %s not found!", optarg);
|
||||
}
|
||||
|
||||
void
|
||||
|
Loading…
Reference in New Issue
Block a user