diff options
author | Ramón M. Gómez <ramongomez@us.es> | 2018-11-26 10:23:07 +0100 |
---|---|---|
committer | Ramón M. Gómez <ramongomez@us.es> | 2018-11-26 10:23:07 +0100 |
commit | c74dbb25d6d2c5fe45042174819c0ee6f725a1cb (patch) | |
tree | bb63aacdc30be95c8738c6ba51c24fb3f8c36a50 | |
parent | b96658880585fccc553ef7cff17d3db65b282112 (diff) |
#872: Adapting right commit {{{518d4d8}}} from devel to master.
-rwxr-xr-x | client/engine/Protocol.lib | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/client/engine/Protocol.lib b/client/engine/Protocol.lib index 2fb45fb4..279961a5 100755 --- a/client/engine/Protocol.lib +++ b/client/engine/Protocol.lib @@ -507,6 +507,9 @@ else #asignamos valor definido en el engine.cfg STARTTIMEOUT=" --start-timeout $MCASTERRORSESSION" fi +#Verificamos que la opcion start-time out esta soportada por la version del cliente +echo $ISUDPCAST | grep start-timeout > /dev/null || STARTTIMEOUT=" " + #La cuarta opcion de la sesion para el cliente: ${SESSION[2]} ERROR TRANSFER - TIMEOUT EEOR IF NOT RECEIVER DATA FROM SERVER if ogCheckStringInReg ${SESSION[3]} "^[0-9]{1,10}$" &>/dev/null then @@ -522,6 +525,9 @@ else #asignamos valor definido en el engine.cfg RECEIVERTIMEOUT=" --receive-timeout $MCASTWAIT" fi +#Verificamos que la opcion receive-timeou esta soportada por la version del cliente +echo $ISUDPCAST | grep receive-timeout > /dev/null || RECEIVERTIMEOUT=" " + #Componenemos la sesion multicast del cliente SYNTAXCLIENT="udp-receiver $MBUFFER --portbase $PORTBASE $SERVERADDRESS $STARTTIMEOUT $RECEIVERTIMEOUT --log /tmp/mcast.log" ########################################################################## |