netselect is currently broken in 64-bit systems.  This is because it's
IMCP packet is packed differently on 64-bit systems.

This can be fixed very easily.  Here is a patch for it:

----------------------------------------------------------------------------
diff -Naur netselect.debian//netinet/ip_icmp.h
netselect.new//netinet/ip_icmp.h
--- netselect.debian//netinet/ip_icmp.h 1998-06-24 16:48:55.000000000 -0700
+++ netselect.new//netinet/ip_icmp.h    2011-11-03 01:05:00.000000000 -0700
@@ -86,7 +86,7 @@
 #define        icmp_ip         icmp_dun.id_ip.idi_ip
 #define        icmp_mask       icmp_dun.id_mask
 #define        icmp_data       icmp_dun.id_data
-};
+} __attribute__((packed));

 /*
  * Lower bounds on packet lengths for various types.
----------------------------------------------------------------------------

Regards,

Joseph


-- 
Cauldron Development LLC
http://www.cauldrondevelopment.com/
Cell: 760-563-2633




--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to