Drop PC12 from pc9x nodes, increase ann dup age.
authorDirk Koopman <djk@tobit.co.uk>
Mon, 25 Oct 2010 09:42:08 +0000 (10:42 +0100)
committerDirk Koopman <djk@tobit.co.uk>
Mon, 25 Oct 2010 09:42:08 +0000 (10:42 +0100)
Assume that PC12s coming from pc9x nodes are coming via some other
route and have been converted.

Increase the default announce dup age from 5 to 18 hrs.

Changes
perl/AnnTalk.pm
perl/DXProtHandle.pm
perl/Version.pm

diff --git a/Changes b/Changes
index 8680fcb658562f8114357be41b7ac49d915aebd9..0fc2e4745e96ad0306d41e4ef6a86d95838b0d3e 100644 (file)
--- a/Changes
+++ b/Changes
@@ -1,3 +1,7 @@
+25Oct10=======================================================================
+1. Drop PC12s purporting to originate at nodes that do PC9x (suggestion from
+Lee VE1CC).
+2. Increase default dup age for announces from 5 -> 18 hours.
 23Oct10=======================================================================
 1. add dbexport command to allow the export of ak1a style databases to a
 file.
index f6b4653d28d497b9a854de43a206dc470eb86a58..6d47726420f9cab730555853303429bd93367c44 100644 (file)
@@ -18,7 +18,7 @@ use DXVars;
 use vars qw(%dup $duplth $dupage $filterdef);
 
 $duplth = 30;                                  # the length of text to use in the deduping
-$dupage = 5*3600;                              # the length of time to hold ann dups
+$dupage = 18*3600;                             # the length of time to hold ann dups
 $filterdef = bless ([
                          # tag, sort, field, priv, special parser 
                          ['by', 'c', 0],
index 43e5670cf4d511311658ecf6cd9e6875bf17d8b0..213e9b4008053d0d7eeb2efdfb1838f2f3c7730e 100644 (file)
@@ -321,6 +321,12 @@ sub handle_12
                return;
        }
 
+       # ignore PC12s from origins that use PCxx protocol
+       my $oref = Route::get($origin);
+       if ($oref->do_pc9x) {
+               dbg("PCPROT: PC12 rxed from PC9x node, ignored") if isdbg('chanerr');
+               return;
+       }
 
        my $dxchan;
 
index a8d910ce890c9da7c08119b308a2cae9ff44a490..e361a26fd9e2bdf0ea30c016045d93cb54da0e26 100644 (file)
@@ -11,7 +11,7 @@ use vars qw($version $subversion $build $gitversion);
 
 $version = '1.55';
 $subversion = '0';
-$build = '76';
-$gitversion = '75987f0';
+$build = '77';
+$gitversion = '7d74331';
 
 1;