]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Make ACCEPT/REJECT actually return the result...
authorMartin Mares <mj@ucw.cz>
Wed, 1 Dec 1999 15:07:06 +0000 (15:07 +0000)
committerMartin Mares <mj@ucw.cz>
Wed, 1 Dec 1999 15:07:06 +0000 (15:07 +0000)
filter/filter.c

index 2ffcbb7fdf760226d1c55f72dd299d36012d9835..84e039b73836d06a8314143102a998672e62d35e 100644 (file)
@@ -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: