printproto.c revision ab25eeb551a4be927a4b6ae2cf8aff7ed17decb4
/*
* Copyright (C) 1993-2005 by Darren Reed.
*
* See the IPFILTER.LICENCE file for details on licencing.
*/
#include "ipf.h"
#if !defined(lint)
static const char rcsid[] = "@(#)$Id: printproto.c,v 1.1.2.1 2005/06/12 07:21:53 darrenr Exp $";
#endif
int p;
{
printf("tcp");
printf("udp");
printf("icmp");
#ifdef _AIX51
/*
*/
printf("ip");
#endif
else
} else {
#ifdef _AIX51
if (p == 0)
printf("ip");
else
#endif
else
printf("%d", p);
}
}