spider/cmd/send_config.pl
Dirk Koopman b2dfa97751 change interface to Route::findroutes
This change allows things like sh/route to obtain the actual
routing priorities either for use or display.

Add a command 'send_config' to broadcast a new PC92 C record
to all interfaces. Useful for playig catchup more quickly after
a restart.
2008-06-24 22:22:44 +01:00

11 lines
197 B
Perl

#
# send out PC92 config records manually
#
my $self = shift;
return (1, $self->msg('e5')) unless $self->priv > 5;
$main::me->broadcast_pc92_update($main::mycall);
return (1, $self->msg('ok'));