Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/gnome-nettool/ChangeLog,v
retrieving revision 1.117
diff -u -p -r1.117 ChangeLog
--- ChangeLog	14 Apr 2006 13:19:58 -0000	1.117
+++ ChangeLog	14 Apr 2006 14:46:33 -0000
@@ -1,3 +1,10 @@
+2006-04-14  Alejandro Andres <fuzzy.alej@gmail.com>
+
+	Fixes #338272
+
+	* src/ping.h: fixes parameters of ping when a broadcast address is
+	given
+
 2006-04-14  German Poo-Caaman~o  <gpoo@ubiobio.cl>
 
 	* src/nettool.c (netinfo_io_text_buffer_dialog):
Index: src/ping.h
===================================================================
RCS file: /cvs/gnome/gnome-nettool/src/ping.h,v
retrieving revision 1.6
diff -u -p -r1.6 ping.h
--- src/ping.h	14 Apr 2006 13:19:59 -0000	1.6
+++ src/ping.h	14 Apr 2006 14:46:35 -0000
@@ -25,7 +25,12 @@
 
 /* The ping usage and output is different between Unix flavours */
 /* FIXME: Add BSD support */
-#if defined(__linux__) || defined(__OSF__) || defined(__FreeBSD__)
+#if defined(__linux__)
+#   define PING_PROGRAM_FORMAT "%s ping -b -c %d -n %s"
+#   define PING_PROGRAM_FORMAT_6 "%s ping6 -c %d -n %s"
+#   define PING_FORMAT "%d bytes from %s icmp_seq=%d ttl=%d time=%s %s"
+#   define PING_PARAMS_6
+#elif defined(__OSF__) || defined(__FreeBSD__)
 #   define PING_PROGRAM_FORMAT "%s ping -c %d -n %s"
 #   define PING_PROGRAM_FORMAT_6 "%s ping6 -c %d -n %s"
 #   define PING_FORMAT "%d bytes from %s icmp_seq=%d ttl=%d time=%s %s"
