Fix a segfault happening when there is no real server for a virtual server.
authorVincent Bernat <bernat@luffy.cx>
Thu, 1 Oct 2009 04:49:57 +0000 (06:49 +0200)
committerAlexandre Cassen <acassen@freebox.fr>
Thu, 1 Oct 2009 07:47:46 +0000 (09:47 +0200)
commitf146920efd383e3b93a43153be8f8243d9490bc9
tree0bb0aee58115d5aa2d6db72c46e01f22117898ea
parent2f98a8a900fae9fc8a549fb1fe87cb3338322d74
Fix a segfault happening when there is no real server for a virtual server.

This bug was introduced in 1.1.18 with the quorum fix patch: I forgot
to use braces and therefore, init_service_rs() was called
unconditionaly, including when vs->rs list is empty.
keepalived/check/ipwrapper.c