summaryrefslogtreecommitdiffstats
path: root/contrib/ipfilter/ipsend/sdlpi.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/ipfilter/ipsend/sdlpi.c')
-rw-r--r--contrib/ipfilter/ipsend/sdlpi.c13
1 files changed, 6 insertions, 7 deletions
diff --git a/contrib/ipfilter/ipsend/sdlpi.c b/contrib/ipfilter/ipsend/sdlpi.c
index f48fd06..1aee2e4 100644
--- a/contrib/ipfilter/ipsend/sdlpi.c
+++ b/contrib/ipfilter/ipsend/sdlpi.c
@@ -27,7 +27,6 @@
#endif
#ifdef __osf__
# include <sys/dlpihdr.h>
-# include "radix_ipf_local.h"
#else
# include <sys/dlpi.h>
#endif
@@ -49,7 +48,7 @@
#if !defined(lint)
static const char sccsid[] = "@(#)sdlpi.c 1.3 10/30/95 (C)1995 Darren Reed";
-static const char rcsid[] = "@(#)$Id: sdlpi.c,v 2.8.2.2 2007/02/17 12:41:51 darrenr Exp $";
+static const char rcsid[] = "@(#)$Id$";
#endif
#define CHUNKSIZE 8192
@@ -61,8 +60,8 @@ static const char rcsid[] = "@(#)$Id: sdlpi.c,v 2.8.2.2 2007/02/17 12:41:51 darr
* interface are included in the header size.
*/
int initdevice(device, tout)
-char *device;
-int tout;
+ char *device;
+ int tout;
{
char devname[16], *s, buf[256];
int i, fd;
@@ -136,9 +135,9 @@ int tout;
* output an IP packet onto a fd opened for /dev/nit
*/
int sendip(fd, pkt, len)
-int fd, len;
-char *pkt;
-{
+ int fd, len;
+ char *pkt;
+{
struct strbuf dbuf, *dp = &dbuf, *cp = NULL;
int pri = 0;
#ifdef DL_HP_RAWDLS
OpenPOWER on IntegriCloud