]> git.proxmox.com Git - mirror_qemu.git/commit - net/slirp.c
fix -net user checks by reordering checks
authorBas van Sisseren <bas@quarantainenet.nl>
Mon, 3 Jun 2013 13:11:49 +0000 (15:11 +0200)
committerJan Kiszka <jan.kiszka@siemens.com>
Wed, 19 Jun 2013 10:44:38 +0000 (12:44 +0200)
commit68756ba8be2127b6ea30a466af9f78a5c97bc15f
treee149482469b82d471b74c92d36fcefe3d9175584
parentc1990468d5a13c8f1d9111fcca0a78a6adad062b
fix -net user checks by reordering checks

reorder slirp config options. first check the dns-server-address,
then check the first-dhcp-address. the original code was comparing
the first-dhcp-address with the default dns-server-address, not
the configured dns-server-address.

Signed-off-by: Bas van Sisseren <bas@quarantainenet.nl>
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
net/slirp.c