projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add PC10 proxying
[spider.git]
/
perl
/
DXProtout.pm
diff --git
a/perl/DXProtout.pm
b/perl/DXProtout.pm
index 118261ef30450aaf96e5c2c3d729687049f7b5d5..63bc5a3b08a5ba8fbb88abc8b49eaab1dfe2efca 100644
(file)
--- a/
perl/DXProtout.pm
+++ b/
perl/DXProtout.pm
@@
-120,7
+120,7
@@
sub pc17
# Request init string
sub pc18
{
# Request init string
sub pc18
{
- my $flags = " pc9
[23]
";
+ my $flags = " pc9
x
";
$flags .= " xml" if DXXml::available();
return "PC18^DXSpider Version: $main::version Build: $main::build$flags^$DXProt::myprot_version^";
}
$flags .= " xml" if DXXml::available();
return "PC18^DXSpider Version: $main::version Build: $main::build$flags^$DXProt::myprot_version^";
}
@@
-423,9
+423,14
@@
sub pc93
my $from = shift; # from user callsign
my $via = shift || '*'; # *, node call
my $line = shift; # the text
my $from = shift; # from user callsign
my $via = shift || '*'; # *, node call
my $line = shift; # the text
+ my $origin = shift; # this will be present on proxying from PC10
+
$line = unpad($line);
$line =~ s/\^/\\5E/g; # remove any ^ characters
$line = unpad($line);
$line =~ s/\^/\\5E/g; # remove any ^ characters
- return "PC93^$main::mycall^" . gen_pc9x_t() . "^$to^$from^$via^$line^H99^";
+ my $s = "PC93^$main::mycall^" . gen_pc9x_t() . "^$to^$from^$via^$line";
+ $s .= "^$origin" if $origin;
+ $s .= "^H99^";
+ return $s;
}
1;
}
1;