|
|
@@ -376,7 +376,7 @@ global $haderror, $error;
|
|
|
$haderror = false;
|
|
|
$error = null;
|
|
|
#
|
|
|
-function getrigs()
|
|
|
+function mcastrigs()
|
|
|
{
|
|
|
global $rigs, $mcastexpect, $mcastaddr, $mcastport, $mcastcode;
|
|
|
global $mcastlistport, $mcasttimeout, $mcastretries, $error;
|
|
|
@@ -480,6 +480,15 @@ function getrigs()
|
|
|
socket_close($rep_soc);
|
|
|
}
|
|
|
#
|
|
|
+function getrigs()
|
|
|
+{
|
|
|
+ global $rigs;
|
|
|
+
|
|
|
+ mcastrigs();
|
|
|
+
|
|
|
+ sort($rigs);
|
|
|
+}
|
|
|
+#
|
|
|
function getsock($rig, $addr, $port)
|
|
|
{
|
|
|
global $rigipsecurity;
|