diff options
author | Martin Mares <mj@ucw.cz> | 1999-12-16 14:51:43 +0100 |
---|---|---|
committer | Martin Mares <mj@ucw.cz> | 1999-12-16 14:51:43 +0100 |
commit | 476e10842503b51331a7994b6e25c91b20eb8e71 (patch) | |
tree | e9858a156a032f27a213c8932b5fc5021b2343d3 /sysdep/unix/krt-iface.c | |
parent | e693ddff874890a9e5c990f6ca75d2e2358d065a (diff) | |
download | bird-476e10842503b51331a7994b6e25c91b20eb8e71.tar bird-476e10842503b51331a7994b6e25c91b20eb8e71.zip |
Minor cleanups.
Diffstat (limited to 'sysdep/unix/krt-iface.c')
-rw-r--r-- | sysdep/unix/krt-iface.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sysdep/unix/krt-iface.c b/sysdep/unix/krt-iface.c index e9df6e4..8c82ffd 100644 --- a/sysdep/unix/krt-iface.c +++ b/sysdep/unix/krt-iface.c @@ -191,7 +191,11 @@ krt_if_scan(struct kif_proto *p) break; } } -#ifdef CLEAN_WAY_WORKING_ONLY_ON_LINUX_2_1 /* FIXME */ +#if 0 + /* + * Linux 2.1 and higher supports this, but it's not needed since + * we prefer to use Netlink there anyway. + */ ic.ifc_req = NULL; ic.ifc_len = 999999999; if (ioctl(if_scan_sock, SIOCGIFCONF, &ic) < 0) |