Commit ee3b700d authored by Alejandro Andres's avatar Alejandro Andres Committed by Germán Poó Caamaño

Fixes #338272

2006-04-14  Alejandro Andres <fuzzy.alej@gmail.com>

	Fixes #338272

	* src/ping.h: fixes parameters of ping when a broadcast address is
	given
parent af3680b8
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):
......
gnome-nettool 2.15.0, 2006-
--------------------------------
- #338272: Fixed ping to a broadcast address in Linux (Alejandro Andres)
- Fixed compilation warnings (Germn Po-Caamao)
- #334687: Fixed InfoIpAddr leakage (Paolo Borelli)
- #333040: Fixed checking for ifaddrs.h
......
......@@ -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"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment