mirror of
https://github.com/ChronosX88/netsukuku.git
synced 2024-11-26 04:02:19 +00:00
Everything should now be okay, Just, Don't leave any interfaces disabled. We still need to figure out how to handle excluding multiple interfaces, And for ignoring disabled ones.
This commit is contained in:
parent
e5eaf16cab
commit
6e7d252878
@ -325,8 +325,8 @@ void free_server_opt(void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
void exclude_interface(void) {
|
void exclude_interface(void) {
|
||||||
char *a_ifs = NULL;
|
char *a_ifs = "null1";
|
||||||
char *old_tmp = NULL;
|
char *old_tmp = "null2";
|
||||||
struct ifaddrs *addrs,*tmp;
|
struct ifaddrs *addrs,*tmp;
|
||||||
getifaddrs(&addrs);
|
getifaddrs(&addrs);
|
||||||
tmp = addrs;
|
tmp = addrs;
|
||||||
|
Loading…
Reference in New Issue
Block a user