mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-12-22 17:51:53 +00:00
Make ACCEPT/REJECT actually return the result...
This commit is contained in:
parent
e7f76bae8c
commit
2ad6dcdb2c
@ -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 New Issue
Block a user