diff options
author | Martin Mares <mj@ucw.cz> | 1999-12-01 16:07:06 +0100 |
---|---|---|
committer | Martin Mares <mj@ucw.cz> | 1999-12-01 16:07:06 +0100 |
commit | 2ad6dcdb2c949904643eabbbf6d0029045e8ea45 (patch) | |
tree | e0be8e3e1ad511c7f2e560f47fd3a13c37690e6c /filter | |
parent | e7f76bae8ccfe405ce3032aaa3a5e9228e5feb98 (diff) | |
download | bird-2ad6dcdb2c949904643eabbbf6d0029045e8ea45.tar bird-2ad6dcdb2c949904643eabbbf6d0029045e8ea45.zip |
Make ACCEPT/REJECT actually return the result...
Diffstat (limited to 'filter')
-rw-r--r-- | filter/filter.c | 4 |
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: |