--- /dev/null
+--- net-tools-1.60/netstat.c.skip 2006-08-07 10:45:25.000000000 +0200
++++ net-tools-1.60/netstat.c 2006-08-07 11:17:37.000000000 +0200
+@@ -444,6 +444,10 @@
+ #ifdef DIRENT_HAVE_D_TYPE_WORKS
+ if (direfd->d_type!=DT_LNK)
+ continue;
++#else
++ /* Skip . and .. */
++ if (!isdigit(direfd->d_name[0]))
++ continue;
+ #endif
+ if (procfdlen+1+strlen(direfd->d_name)+1>sizeof(line))
+ continue;