summaryrefslogtreecommitdiff
path: root/filter
diff options
context:
space:
mode:
authorPavel Machek <pavel@ucw.cz>2000-06-01 08:34:30 +0000
committerPavel Machek <pavel@ucw.cz>2000-06-01 08:34:30 +0000
commit1877dab21715eb23addb3391afbd8dbf571f833d (patch)
tree6b38ca1ecec04e1cdf5ac84f02cf5e90c692f279 /filter
parent1895e81e0532f732f501036402bbdd1825885cfd (diff)
Allow
case net { 62.0.0.0/8+: 10.0.0.0/8+: else: reject; }
Diffstat (limited to 'filter')
-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 69454bc3..1ab43058 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 c6d7e4f1..6a4778b9 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;