Make ACCEPT/REJECT actually return the result...
This commit is contained in:
parent
e7f76bae8c
commit
2ad6dcdb2c
1 changed files with 2 additions and 2 deletions
|
@ -283,9 +283,9 @@ interpret(struct f_inst *what)
|
||||||
case F_ACCEPT:
|
case F_ACCEPT:
|
||||||
/* Should take care about turning ACCEPT into MODIFY */
|
/* Should take care about turning ACCEPT into MODIFY */
|
||||||
case F_ERROR:
|
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.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. */
|
return res; /* We have to return now, no more processing. */
|
||||||
case F_NONL:
|
case F_NONL:
|
||||||
case F_NOP:
|
case F_NOP:
|
||||||
|
|
Loading…
Reference in a new issue