mirror of
https://github.com/outbackdingo/udevmand.git
synced 2026-08-25 14:53:42 +00:00
udevmand: improve neighbour enumeration
Signed-off-by: John Crispin <[email protected]>
This commit is contained in:
@@ -56,6 +56,8 @@ mac_dump(struct mac *mac, int interface)
|
||||
char buf[18];
|
||||
void *c, *d;
|
||||
|
||||
neigh_enum();
|
||||
|
||||
clock_gettime(CLOCK_MONOTONIC, &ts);
|
||||
|
||||
last_seen = ts.tv_sec - mac->ts.tv_sec;
|
||||
@@ -110,6 +112,7 @@ mac_dump(struct mac *mac, int interface)
|
||||
}
|
||||
|
||||
blobmsg_close_array(&b, c);
|
||||
neigh_flush();
|
||||
}
|
||||
|
||||
int
|
||||
|
||||
Reference in New Issue
Block a user