mirror of
				https://github.com/berlin-open-wireless-lab/DAWN.git
				synced 2025-03-09 15:40:12 +00:00 
			
		
		
		
	ubus: filter out global interface
This commit is contained in:
		
							parent
							
								
									73c7998967
								
							
						
					
					
						commit
						2d1a6f9c0c
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		|  | @ -1673,6 +1673,8 @@ void subscribe_to_new_interfaces(const char *hostapd_sock_path) { | |||
|     while ((entry = readdir(dirp)) != NULL) { | ||||
|         if (entry->d_type == DT_SOCK) { | ||||
|             bool do_subscribe = true; | ||||
|             if (strcmp(entry->d_name, "global") == 0) | ||||
|                 continue; | ||||
|             list_for_each_entry(sub, &hostapd_sock_list, list) | ||||
|             { | ||||
|                 if (strncmp(sub->iface_name, entry->d_name, MAX_INTERFACE_NAME) == 0) { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue