commit | df46189412567906312684eb72ba87c6a86a4cdb | [log] [tgz] |
---|---|---|
author | Jan Kiszka <jan.kiszka@siemens.com> | Wed Jun 24 14:42:30 2009 +0200 |
committer | Anthony Liguori <aliguori@us.ibm.com> | Mon Jun 29 08:52:47 2009 -0500 |
tree | dc1b8f320294afc70b2984e47ebb5b64f5f22baf | |
parent | 9367964ae21d2a41517c76c87dd26c79abcfe937 [diff] |
slirp: Factor out one-time initialization In order to prepare re-initialization and multi-instance slirp, factor out init code that is of global scope and (at least for now) only need to be run once. This also fixes the potentially uninitialized use of our_addr in get_dns_addr. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>