From 6ba06f6627a07863cac75ecd7a43e72d91402f1f Mon Sep 17 00:00:00 2001 From: Dirk Koopman Date: Sat, 14 Nov 2009 11:38:43 +0000 Subject: [PATCH] fix ssid handling on (un)set/badnode.pl --- cmd/set/badnode.pl | 2 +- cmd/unset/badnode.pl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/set/badnode.pl b/cmd/set/badnode.pl index b123ef96..6ac5b398 100644 --- a/cmd/set/badnode.pl +++ b/cmd/set/badnode.pl @@ -9,6 +9,6 @@ my ($self, $line) = @_; return (1, $self->msg('e5')) if $self->remotecmd; # are we permitted? return (1, $self->msg('e5')) if $self->priv < 6; -$line = join(' ', map {s|[/-]\d+$||; $_} split(/\s+/, $line)); +#$line = join(' ', map {s|[/-]\d+$||; $_} split(/\s+/, $line)); return $DXProt::badnode->set(8, $self->msg('e12'), $self, $line); diff --git a/cmd/unset/badnode.pl b/cmd/unset/badnode.pl index cd44a0aa..c104be27 100644 --- a/cmd/unset/badnode.pl +++ b/cmd/unset/badnode.pl @@ -9,6 +9,6 @@ my ($self, $line) = @_; return (1, $self->msg('e5')) if $self->remotecmd; # are we permitted? return (1, $self->msg('e5')) if $self->priv < 6; -$line = join(' ', map {s|[/-]\d+$||; $_} split(/\s+/, $line)); +#$line = join(' ', map {s|[/-]\d+$||; $_} split(/\s+/, $line)); return $DXProt::badnode->unset(8, $self->msg('e12'), $self, $line); -- 2.34.1