From 7a452cae156be2178809e40452b095c0494b9e98 Mon Sep 17 00:00:00 2001 From: jwise Date: Fri, 9 Apr 2004 20:39:22 +0000 Subject: [PATCH] Commit fix, from Darren Reed (darrenr@netbsd.org), for a functional regression in the new ipf -- return_icmp_as_dest with an argument was no longer accepted by the parser. --- dist/ipf/tools/ipf_y.y | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dist/ipf/tools/ipf_y.y b/dist/ipf/tools/ipf_y.y index 5440a7aff830..85347c2507ae 100644 --- a/dist/ipf/tools/ipf_y.y +++ b/dist/ipf/tools/ipf_y.y @@ -1,4 +1,4 @@ -/* $NetBSD: ipf_y.y,v 1.2 2004/04/01 09:26:12 martin Exp $ */ +/* $NetBSD: ipf_y.y,v 1.3 2004/04/09 20:39:22 jwise Exp $ */ %{ #include "ipf.h" @@ -261,6 +261,7 @@ blockreturn: IPFY_RETICMP { fr->fr_flags |= FR_RETICMP; } | IPFY_RETICMP returncode { fr->fr_flags |= FR_RETICMP; } | IPFY_RETICMPASDST { fr->fr_flags |= FR_FAKEICMP; } + | IPFY_RETICMPASDST returncode { fr->fr_flags |= FR_FAKEICMP; } | IPFY_RETRST { fr->fr_flags |= FR_RETRST; } ;