From: kstailey Date: Wed, 5 Feb 1997 00:53:11 +0000 (+0000) Subject: #define ICMP_UNREACH_FILTER -> ICMP_UNREACH_FILTER_PROHIB to match tcpdump/print_icmp... X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=14a28727ac6b9a11328e7bd586040d3ca7b0f87b;p=openbsd #define ICMP_UNREACH_FILTER -> ICMP_UNREACH_FILTER_PROHIB to match tcpdump/print_icmp.c which had it first --- diff --git a/sys/netinet/ip_fil.c b/sys/netinet/ip_fil.c index 345d106a2f5..2c367af7422 100644 --- a/sys/netinet/ip_fil.c +++ b/sys/netinet/ip_fil.c @@ -8,7 +8,7 @@ #if 0 #ifndef lint static char sccsid[] = "@(#)ip_fil.c 2.41 6/5/96 (C) 1993-1995 Darren Reed"; -static char rcsid[] = "$OpenBSD: ip_fil.c,v 1.8 1997/01/18 08:29:19 downsj Exp $"; +static char rcsid[] = "$OpenBSD: ip_fil.c,v 1.9 1997/02/05 00:53:11 kstailey Exp $"; #endif #endif @@ -68,7 +68,7 @@ static void (*fr_saveslowtimo) __P((void)); #endif int ipl_inited = 0; -int ipl_unreach = ICMP_UNREACH_FILTER; +int ipl_unreach = ICMP_UNREACH_FILTER_PROHIB; #ifdef IPFILTER_LOG # define LOGSIZE 8192 diff --git a/sys/netinet/ip_fil.h b/sys/netinet/ip_fil.h index 031eb832254..0c0669649dd 100644 --- a/sys/netinet/ip_fil.h +++ b/sys/netinet/ip_fil.h @@ -6,7 +6,7 @@ * to the original author and the contributors. * * @(#)ip_fil.h 1.35 6/5/96 - * $OpenBSD: ip_fil.h,v 1.6 1996/10/08 07:33:26 niklas Exp $ + * $OpenBSD: ip_fil.h,v 1.7 1997/02/05 00:53:12 kstailey Exp $ */ #ifndef __IP_FIL_H__ @@ -271,8 +271,8 @@ typedef struct ipl_ci { } ipl_ci_t; -#ifndef ICMP_UNREACH_FILTER -#define ICMP_UNREACH_FILTER 13 +#ifndef ICMP_UNREACH_FILTER_PROHIB +#define ICMP_UNREACH_FILTER_PROHIB 13 #endif /* * Security Options for Intenet Protocol (IPSO) as defined in RFC 1108.