From 1877dab21715eb23addb3391afbd8dbf571f833d Mon Sep 17 00:00:00 2001 From: Pavel Machek Date: Thu, 1 Jun 2000 08:34:30 +0000 Subject: [PATCH] Allow case net { 62.0.0.0/8+: 10.0.0.0/8+: else: reject; } --- filter/config.Y | 1 + 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;