]> git.ozlabs.org Git - petitboot/commit - discover/discover-server.c
discover: Don't resend all options to all clients
authorJeremy Kerr <jk@ozlabs.org>
Tue, 7 May 2013 08:48:41 +0000 (16:48 +0800)
committerJeremy Kerr <jk@ozlabs.org>
Tue, 7 May 2013 08:53:30 +0000 (16:53 +0800)
commit64c7065659bd939564356d688dcd24c65e02d57f
treede5d81a91f63a48e9f1869c6eeb64e4164b4102d
parent1920721aa011923555d95fc3b6a4378064a991ca
discover: Don't resend all options to all clients

Currently, when a new UI client connects, we send all boot options to
all clients. This results in existing clients getting duplicate add
events.

Instead, we only want to send existing boot options to the new client.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
discover/discover-server.c