diff options
author | Pavel Machek <pavel@ucw.cz> | 2000-06-01 08:34:30 +0000 |
---|---|---|
committer | Pavel Machek <pavel@ucw.cz> | 2000-06-01 08:34:30 +0000 |
commit | 1877dab21715eb23addb3391afbd8dbf571f833d (patch) | |
tree | 6b38ca1ecec04e1cdf5ac84f02cf5e90c692f279 | |
parent | 1895e81e0532f732f501036402bbdd1825885cfd (diff) |
Allow
case net {
62.0.0.0/8+:
10.0.0.0/8+:
else: reject;
}
-rw-r--r-- | filter/config.Y | 1 | ||||
-rw-r--r-- | filter/filter.c | 3 |
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; |