aboutsummaryrefslogtreecommitdiff
path: root/slirp/ip_input.c
diff options
context:
space:
mode:
authorJan Kiszka <jan.kiszka@siemens.com>2009-06-24 14:42:30 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-06-29 08:52:47 -0500
commitdf46189412567906312684eb72ba87c6a86a4cdb (patch)
treedc1b8f320294afc70b2984e47ebb5b64f5f22baf /slirp/ip_input.c
parent9367964ae21d2a41517c76c87dd26c79abcfe937 (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>
Diffstat (limited to 'slirp/ip_input.c')
0 files changed, 0 insertions, 0 deletions