summaryrefslogtreecommitdiffstats
path: root/slirp/dhcpv6.c
diff options
context:
space:
mode:
Diffstat (limited to 'slirp/dhcpv6.c')
-rw-r--r--slirp/dhcpv6.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/slirp/dhcpv6.c b/slirp/dhcpv6.c
index 752df40536..e655c7d5b1 100644
--- a/slirp/dhcpv6.c
+++ b/slirp/dhcpv6.c
@@ -20,8 +20,6 @@
* along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
-#include "qemu/osdep.h"
-#include "qemu/log.h"
#include "slirp.h"
#include "dhcpv6.h"
@@ -61,7 +59,7 @@ static int dhcpv6_parse_info_request(Slirp *slirp, uint8_t *odata, int olen,
int len = odata[2] << 8 | odata[3];
if (len + 4 > olen) {
- slirp->cb->guest_error("Guest sent bad DHCPv6 packet!");
+ slirp->cb->guest_error("Guest sent bad DHCPv6 packet!", slirp->opaque);
return -E2BIG;
}