implement PC92 config changes
[spider.git] / perl / DXProt.pm
index 2ff2c8e59ae3dc44fd05892bccdcee24972ed90f..58b5982df7848e278e598d69db784acc4b104324 100644 (file)
@@ -365,6 +365,7 @@ sub normal
                $hops--;
                return if $hops < 0;
                $line =~ s/\^H(\d+)(\^?\~?)?$/sprintf('^H%d%s', $hops, $trail)/e;
+               $field[-1] = "H$hops";
        }
 
        # send it out for processing
@@ -1145,7 +1146,7 @@ sub broadcast_route_pc9x
                $line = &$generate(@_);
        } 
 
-       $line =~ /\^H(\d+)\^$/;
+       $line =~ /\^H(\d+)\^\~?$/;
        unless ($1 > 0 && $self->{isolate}) {
                foreach $dxchan (@dxchan) {
                        next if $dxchan == $self;