feat: restart on error

Signed-off-by: Bohdan Leshchenko <bohdan.leshchenko1@gmail.com>
This commit is contained in:
Bohdan Leshchenko
2026-07-08 17:51:21 +02:00
parent 8ae99df6e1
commit 8f8bd0291a

View File

@@ -142,7 +142,8 @@ func (m *Manager) StartAdvertisement(ctx context.Context, killFunc func()) {
}
timeout.Reset(duration)
}); err != nil {
log.Warn("[ARP manager] stopped watching interface", "err", err)
log.Error("[ARP manager] stopped watching interface", "err", err)
killFunc()
}
})
}