summaryrefslogtreecommitdiffstats
path: root/contrib/ipfilter/ipsend/ipsend.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/ipfilter/ipsend/ipsend.c')
-rw-r--r--contrib/ipfilter/ipsend/ipsend.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/contrib/ipfilter/ipsend/ipsend.c b/contrib/ipfilter/ipsend/ipsend.c
index 06191ec..3df5c07 100644
--- a/contrib/ipfilter/ipsend/ipsend.c
+++ b/contrib/ipfilter/ipsend/ipsend.c
@@ -6,7 +6,7 @@
*/
#if !defined(lint)
static const char sccsid[] = "@(#)ipsend.c 1.5 12/10/95 (C)1995 Darren Reed";
-static const char rcsid[] = "@(#)$Id: ipsend.c,v 2.8.2.3 2006/03/17 13:45:34 darrenr Exp $";
+static const char rcsid[] = "@(#)$Id$";
#endif
#include <sys/param.h>
#include <sys/types.h>
@@ -67,7 +67,7 @@ int main __P((int, char **));
static void usage(prog)
-char *prog;
+ char *prog;
{
fprintf(stderr, "Usage: %s [options] dest [flags]\n\
\toptions:\n\
@@ -96,8 +96,8 @@ char *prog;
static void do_icmp(ip, args)
-ip_t *ip;
-char *args;
+ ip_t *ip;
+ char *args;
{
struct icmp *ic;
char *s;
@@ -147,10 +147,10 @@ char *args;
int send_packets(dev, mtu, ip, gwip)
-char *dev;
-int mtu;
-ip_t *ip;
-struct in_addr gwip;
+ char *dev;
+ int mtu;
+ ip_t *ip;
+ struct in_addr gwip;
{
int wfd;
@@ -193,8 +193,8 @@ udpcksum(ip_t *ip, struct udphdr *udp, int len)
}
int main(argc, argv)
-int argc;
-char **argv;
+ int argc;
+ char **argv;
{
FILE *langfile = NULL;
struct in_addr gwip;
OpenPOWER on IntegriCloud