From d733d04b693ebbe76af2855d0326966a2bc5144f Mon Sep 17 00:00:00 2001 From: Natalia Serrano Date: Mon, 2 Jun 2025 14:57:29 +0200 Subject: [PATCH] refs #2164 correctly parse the mcast session --- CHANGELOG.md | 6 ++++++ ogclient/scripts/restoreImage.py | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 87894ea..816781a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [0.13.7] - 2025-06-02 + +### Fixed + +- Fixed management of the "multicast session" parameter + ## [0.13.6] - 2025-06-02 ### Fixed diff --git a/ogclient/scripts/restoreImage.py b/ogclient/scripts/restoreImage.py index 0265b2c..7d26eac 100644 --- a/ogclient/scripts/restoreImage.py +++ b/ogclient/scripts/restoreImage.py @@ -59,9 +59,9 @@ repo = repo.upper() # Si MCASTWAIT menos que tiempo de espera del servidor lo aumento MCASTWAIT = ogGlobals.MCASTWAIT if ':' in protoopt: - port, wait = protoopt.split (':') + port, method, mcastip, speed, nclients, wait = protoopt.split (':') else: - port, wait = ('', '') + port, method, mcastip, speed, nclients, wait = ('', '', '', '', '', '') if proto.startswith ('MULTICAST') and re.match (r'^-?\d+$', wait): if int (MCASTWAIT or 0) < int (wait): MCASTWAIT = int (wait) + 5