Problems with interface enumeration
I've noticed that quite a few of the tools that try to enumerate network
interfaces are broken on the Alpha. It appears that this is some kernel
bug - routed used to exhibit it until I reported a bug with the patch
below, and I've just come across it in nmap (which is rendered useless
as a result) and I think it may exist in Zebra too.
Before I go filing RCBs, am I missing something?
* Tue Jun 16 1998 Jeff Johnson <email@example.com>
- add offset to get aligned ifreq's on alpha. This should be
fixed in the kernel eventually.
--- netkit-routed-0.10/routed/main.c.compat21 Tue Dec 22 15:00:04 1998
+++ netkit-routed-0.10/routed/main.c Tue Dec 22 15:06:26 1998
@@ -253,7 +253,7 @@
sigprocmask(SIG_BLOCK, &sigset, &osigset);
- if (ibits.fds_bits[s/32] & (1 << s))
+ if (FD_ISSET(s, &ibits))
/* handle ICMP redirects */
sigprocmask(SIG_SETMASK, &osigset, NULL);
Mark Brown mailto:firstname.lastname@example.org (Trying to avoid grumpiness)