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:
MissValeska 2014-05-13 20:13:02 -07:00
parent e5eaf16cab
commit 6e7d252878

View File

@ -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;