and fix the error msg haha
[freeside.git] / FS / FS / svc_forward.pm
index 6dea388..12b556f 100644 (file)
@@ -250,7 +250,7 @@ sub check {
 
   if ( $self->src ) {
     $self->src =~ /^([\w\.\-\&]*)(\@([\w\-]+\.)+\w+)$/
-       or return "Illegal src: ". $self->dst;
+       or return "Illegal src: ". $self->src;
     $self->src("$1$2");
   } else {
     $self->src('');