summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPavel Machek <pavel@ucw.cz>2000-06-01 10:34:30 +0200
committerPavel Machek <pavel@ucw.cz>2000-06-01 10:34:30 +0200
commit1877dab21715eb23addb3391afbd8dbf571f833d (patch)
tree6b38ca1ecec04e1cdf5ac84f02cf5e90c692f279
parent1895e81e0532f732f501036402bbdd1825885cfd (diff)
downloadbird-1877dab21715eb23addb3391afbd8dbf571f833d.tar
bird-1877dab21715eb23addb3391afbd8dbf571f833d.zip
Allow
case net { 62.0.0.0/8+: 10.0.0.0/8+: else: reject; }
-rw-r--r--filter/config.Y1
-rw-r--r--filter/filter.c3
2 files changed, 2 insertions, 2 deletions
diff --git a/filter/config.Y b/filter/config.Y
index 69454bc..1ab4305 100644
--- a/filter/config.Y
+++ b/filter/config.Y
@@ -5,6 +5,7 @@
*
* Can be freely distributed and used under the terms of the GNU GPL.
*
+ FIXME: priority of ! should be lower
*/
CF_HDR
diff --git a/filter/filter.c b/filter/filter.c
index c6d7e4f..6a4778b 100644
--- a/filter/filter.c
+++ b/filter/filter.c
@@ -579,8 +579,7 @@ interpret(struct f_inst *what)
break;
}
}
- if (!t->data)
- bug( "Impossible: no code associated!" );
+ /* It is actually possible to have t->data NULL */
return interpret(t->data);
}
break;