From e35ef181a41384446aca614522a7cbb10606dd5b Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Tue, 2 Mar 1999 18:36:09 +0000 Subject: o The if_change_too_big_p change was too high-spirited. Fixed. o Introduced if_find_by_index() o Recognizing two types of interface updates: full update (starting with if_start_update(), ending with if_end_update(), guaranteed to see all existing interfaces) and a partial update (only if_update(), usually due to asynchronous interface notifications). --- sysdep/unix/sync-if.c | 1 + 1 file changed, 1 insertion(+) (limited to 'sysdep') diff --git a/sysdep/unix/sync-if.c b/sysdep/unix/sync-if.c index ce54fc7..3dfa4f0 100644 --- a/sysdep/unix/sync-if.c +++ b/sysdep/unix/sync-if.c @@ -37,6 +37,7 @@ scan_ifs(struct ifreq *r, int cnt) ip_addr netmask; int l; + if_start_update(); for (cnt /= sizeof(struct ifreq); cnt; cnt--, r++) { bzero(&i, sizeof(i)); -- cgit v1.2.3