1. Sort out PC41 handling to include type 5 records for QRA locators and also
[spider.git] / cmd / forward / opername.pl
index a80d0ec9e64329273efde7b434ac5467645cc93b..1daaa1c3291b69cafc2b47cd6f650b787985749e 100644 (file)
@@ -29,6 +29,7 @@ foreach $call (@f) {
                my $lat = $ref->lat;
                my $long = $ref->long;
                my $node = $ref->homenode;
+               my $qra = $ref->qra;
                my $latlong = DXBearing::lltos($lat, $long) if $lat && $long;
                if ($name) {
                        my $l = DXProt::pc41($DXProt::me, $call, 1, $name);
@@ -50,6 +51,11 @@ foreach $call (@f) {
                        DXProt::eph_dup($l);
                        DXProt::broadcast_all_ak1a($l, $DXProt::me) ;
                }
+               if ($qra) {
+                       my $l = DXProt::pc41($call, 5, $qra);
+                       DXProt::eph_dup($l);
+                       DXProt::broadcast_all_ak1a($l, $DXProt::me) ;
+               }
        }
 }