diff options
author | Markus Armbruster <armbru@redhat.com> | 2009-10-06 12:16:56 +0100 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-10-06 14:36:10 -0500 |
commit | 3a179c661434364607cf45882ab8b12cd6d32b27 (patch) | |
tree | f100934518cdf1ef4dd6469b0f415356f0550c19 /net.h | |
parent | 02374aa02a48e2d00c57b3d9b7b30821dcb2c139 (diff) |
Make net_client_init() consume slirp_configs even on error
net_slirp_init() walks slirp_configs, and stops when it encounters one
that doesn't work. Instead of consuming slirp_configs members there,
consume them in the sole caller. This makes sure all are consumed.
Before, the tail starting with the non-working one was left in place,
where it made the next net_slirp_init() fail again.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Mark McLoughlin <markmc@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'net.h')
0 files changed, 0 insertions, 0 deletions