slirp: Common lhost/fhost union
commit7eddf37c63d20367989fc0ecb25460b64817f6df
authorDr. David Alan Gilbert <dgilbert@redhat.com>
Mon, 20 Feb 2017 18:50:18 +0000 (20 18:50 +0000)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Sat, 29 Apr 2017 16:44:16 +0000 (29 18:44 +0200)
treee83b4add62ed2a5da054396d99eacb3c9d6d951d
parent2a7cab9e17bbe78f37c7515278eefc32876fa7a2
slirp: Common lhost/fhost union

The socket structure has a pair of unions for lhost and fhost
addresses; the unions are identical so split them out into
a separate union declaration.

Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
slirp/socket.h