summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>1999-12-01 16:07:06 +0100
committerMartin Mares <mj@ucw.cz>1999-12-01 16:07:06 +0100
commit2ad6dcdb2c949904643eabbbf6d0029045e8ea45 (patch)
treee0be8e3e1ad511c7f2e560f47fd3a13c37690e6c
parente7f76bae8ccfe405ce3032aaa3a5e9228e5feb98 (diff)
downloadbird-2ad6dcdb2c949904643eabbbf6d0029045e8ea45.tar
bird-2ad6dcdb2c949904643eabbbf6d0029045e8ea45.zip
Make ACCEPT/REJECT actually return the result...
-rw-r--r--filter/filter.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/filter/filter.c b/filter/filter.c
index 2ffcbb7..84e039b 100644
--- a/filter/filter.c
+++ b/filter/filter.c
@@ -283,9 +283,9 @@ interpret(struct f_inst *what)
case F_ACCEPT:
/* Should take care about turning ACCEPT into MODIFY */
case F_ERROR:
- case F_REJECT: /* FIXME (noncritical) Should print compele route along with reason to reject route */
+ case F_REJECT: /* FIXME (noncritical) Should print complete route along with reason to reject route */
res.type = T_RETURN;
- res.val.i = what->a1.i;
+ res.val.i = what->a2.i;
return res; /* We have to return now, no more processing. */
case F_NONL:
case F_NOP: