Delio Brignoli
2013-11-19 13:42:39 UTC
Before this fix when in slave mode, if a former foreign master disappeared
for some reason and nothing replaced it, we started announcing ourselves
using the former master DS
Signed-off-by: Delio Brignoli <***@audioscience.com>
---
clock.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/clock.c b/clock.c
index 1563ba9..a36afc9 100644
--- a/clock.c
+++ b/clock.c
@@ -1163,6 +1163,7 @@ static void handle_state_decision_event(struct clock *c)
best_id = best->dataset.identity;
} else {
best_id = c->dds.clockIdentity;
+ clock_update_grandmaster(c);
}
pr_notice("selected best master clock %s",
for some reason and nothing replaced it, we started announcing ourselves
using the former master DS
Signed-off-by: Delio Brignoli <***@audioscience.com>
---
clock.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/clock.c b/clock.c
index 1563ba9..a36afc9 100644
--- a/clock.c
+++ b/clock.c
@@ -1163,6 +1163,7 @@ static void handle_state_decision_event(struct clock *c)
best_id = best->dataset.identity;
} else {
best_id = c->dds.clockIdentity;
+ clock_update_grandmaster(c);
}
pr_notice("selected best master clock %s",
--
1.7.0.4
1.7.0.4