mirror of
https://github.com/outbackdingo/udevmand.git
synced 2026-08-25 14:53:42 +00:00
make neigh detection more stable and remove wifi handling
Signed-off-by: John Crispin <[email protected]>
This commit is contained in:
@@ -28,7 +28,6 @@ mac_find(uint8_t *addr)
|
||||
*mac->interface = '\0';
|
||||
INIT_LIST_HEAD(&mac->neigh4);
|
||||
INIT_LIST_HEAD(&mac->neigh6);
|
||||
INIT_LIST_HEAD(&mac->wifi);
|
||||
INIT_LIST_HEAD(&mac->dhcpv4);
|
||||
INIT_LIST_HEAD(&mac->bridge_mac);
|
||||
|
||||
@@ -88,14 +87,6 @@ mac_dump(struct mac *mac, int interface)
|
||||
blobmsg_close_array(&b, d);
|
||||
}
|
||||
|
||||
if (!list_empty(&mac->wifi)) {
|
||||
struct wifi_station *sta;
|
||||
|
||||
sta = list_first_entry(&mac->wifi, struct wifi_station, mac);
|
||||
blobmsg_add_field(&b, BLOBMSG_TYPE_TABLE, "wifi",
|
||||
blobmsg_data(sta->info), blobmsg_data_len(sta->info));
|
||||
}
|
||||
|
||||
if (!list_empty(&mac->dhcpv4)) {
|
||||
struct dhcpv4 *dhcpv4;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user