summaryrefslogtreecommitdiff
path: root/sysdep/unix/krt-iface.c
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>1999-12-16 13:51:43 +0000
committerMartin Mares <mj@ucw.cz>1999-12-16 13:51:43 +0000
commit476e10842503b51331a7994b6e25c91b20eb8e71 (patch)
treee9858a156a032f27a213c8932b5fc5021b2343d3 /sysdep/unix/krt-iface.c
parente693ddff874890a9e5c990f6ca75d2e2358d065a (diff)
Minor cleanups.
Diffstat (limited to 'sysdep/unix/krt-iface.c')
-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 e9df6e43..8c82ffdf 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)