1. fix set/lockout so that it is possible to lock out all SSIDs except those
[spider.git] / cmd / forward / opername.pl
index a80d0ec9e64329273efde7b434ac5467645cc93b..91acc8b4c9eb173be8a8ecae1fca7897e033682b 100644 (file)
@@ -29,26 +29,32 @@ 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);
+                       my $l = DXProt::pc41($main::me, $call, 1, $name);
                        DXProt::eph_dup($l);
-                       DXProt::broadcast_all_ak1a($l, $DXProt::me) ;
+                       DXChannel::broadcast_all_nodes($l, $main::me) ;
                }
                if ($qth) {
                        my $l = DXProt::pc41($call, 2, $qth);
                        DXProt::eph_dup($l);
-                       DXProt::broadcast_all_ak1a($l, $DXProt::me) ;
+                       DXChannel::broadcast_all_nodes($l, $main::me) ;
                }
                if ($latlong) {
                        my $l = DXProt::pc41($call, 3, $latlong);
                        DXProt::eph_dup($l);
-                       DXProt::broadcast_all_ak1a($l, $DXProt::me) ;
+                       DXChannel::broadcast_all_nodes($l, $main::me) ;
                }
                if ($node) {
                        my $l = DXProt::pc41($call, 4, $node);
                        DXProt::eph_dup($l);
-                       DXProt::broadcast_all_ak1a($l, $DXProt::me) ;
+                       DXChannel::broadcast_all_nodes($l, $main::me) ;
+               }
+               if ($qra) {
+                       my $l = DXProt::pc41($call, 5, $qra);
+                       DXProt::eph_dup($l);
+                       DXChannel::broadcast_all_nodes($l, $main::me) ;
                }
        }
 }