summaryrefslogtreecommitdiffstats
path: root/sysdep/unix
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>1999-12-16 14:51:43 +0100
committerMartin Mares <mj@ucw.cz>1999-12-16 14:51:43 +0100
commit476e10842503b51331a7994b6e25c91b20eb8e71 (patch)
treee9858a156a032f27a213c8932b5fc5021b2343d3 /sysdep/unix
parente693ddff874890a9e5c990f6ca75d2e2358d065a (diff)
downloadbird-476e10842503b51331a7994b6e25c91b20eb8e71.tar
bird-476e10842503b51331a7994b6e25c91b20eb8e71.zip
Minor cleanups.
Diffstat (limited to 'sysdep/unix')
-rw-r--r--sysdep/unix/krt-iface.c6
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)