summaryrefslogtreecommitdiff
path: root/sysdep/unix/sync-if.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdep/unix/sync-if.c')
-rw-r--r--sysdep/unix/sync-if.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sysdep/unix/sync-if.c b/sysdep/unix/sync-if.c
index ce54fc77..3dfa4f01 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));