spider/cmd/accept/route.pl
minima 412fb1b9e4 6. make set/isolate and acc/route mutually exclusive (and issue appropriate
error messages).
7. Improve stat/route_node and stat/route_user for diagnostics.
2001-09-03 13:04:01 +00:00

15 lines
306 B
Perl

#
# accept/reject filter commands
#
# Copyright (c) 2000 Dirk Koopman G1TLH
#
# $Id$
#
my ($self, $line) = @_;
my $type = 'accept';
my $sort = 'route';
my ($r, $filter, $fno) = $Route::filterdef->cmd($self, $sort, $type, $line);
return (1, $r ? $filter : $self->msg('filter1', $fno, $filter->{name}));