diff options
author | Ondrej Zajicek <santiago@crfreenet.org> | 2012-01-21 22:41:31 +0100 |
---|---|---|
committer | Ondrej Zajicek <santiago@crfreenet.org> | 2012-01-21 22:41:31 +0100 |
commit | b573755df426156c22d2a4c65e3f502284820166 (patch) | |
tree | b859ea78954b1428273e3c9428119c9c09d7cd7e /sysdep/bsd | |
parent | 544f2e1b36fb9473132f77d9c0f6e97d1495bb24 (diff) |
Fixes a bug in BSD iface scan.
if_update() should be called always, because periodic iface scan code
removes all not-updated ifaces.
Diffstat (limited to 'sysdep/bsd')
-rw-r--r-- | sysdep/bsd/krt-sock.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sysdep/bsd/krt-sock.c b/sysdep/bsd/krt-sock.c index 4bf6600d..4a91e85a 100644 --- a/sysdep/bsd/krt-sock.c +++ b/sysdep/bsd/krt-sock.c @@ -471,8 +471,7 @@ krt_read_ifinfo(struct ks_msg *msg) else f.flags |= IF_MULTIACCESS; /* NBMA */ - if((!iface) || memcmp(&f, iface, sizeof(struct iface))) - if_update(&f); /* Just if something happens */ + if_update(&f); } static void |