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.
This commit is contained in:
jwise 2004-04-09 20:39:22 +00:00
parent 13357b24dd
commit 7a452cae15
1 changed files with 2 additions and 1 deletions

View File

@ -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; }
;