diff options
author | Martin Mares <mj@ucw.cz> | 1999-03-02 19:36:09 +0100 |
---|---|---|
committer | Martin Mares <mj@ucw.cz> | 1999-03-02 19:36:09 +0100 |
commit | e35ef181a41384446aca614522a7cbb10606dd5b (patch) | |
tree | ac8f7b78a3782ea8f09c7c649fefd3ab40bd1f78 /sysdep/unix | |
parent | bcbd8cc3be670a96e1405b896cff4be0912ba379 (diff) | |
download | bird-e35ef181a41384446aca614522a7cbb10606dd5b.tar bird-e35ef181a41384446aca614522a7cbb10606dd5b.zip |
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).
Diffstat (limited to 'sysdep/unix')
-rw-r--r-- | sysdep/unix/sync-if.c | 1 |
1 files changed, 1 insertions, 0 deletions
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)); |