=== modified file 'plugins.d/mandos-client.c' --- plugins.d/mandos-client.c 2012-06-17 02:30:59 +0000 +++ plugins.d/mandos-client.c 2012-06-17 12:23:31 +0000 @@ -659,6 +659,7 @@ return -1; } + /* If the interface is specified and we have a list of interfaces */ if(if_index != AVAHI_IF_UNSPEC and mc->interfaces != NULL){ /* Check if the interface is one of the interfaces we are using */ bool match = false; @@ -673,6 +674,8 @@ } } if(not match){ + /* This interface does not match any in the list, so we don't + connect to the server */ if(debug){ char interface[IF_NAMESIZE]; if(if_indextoname((unsigned int)if_index, interface) == NULL){ @@ -2181,7 +2184,7 @@ } } - /* Bring up interfaces which are down */ + /* Bring up interfaces which are down, and remove any "none"s */ { char *interface = NULL; while((interface = argz_next(mc.interfaces, mc.interfaces_size,