[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 1/2] net: fix trace when debug is activated in s
From: |
Blue Swirl |
Subject: |
Re: [Qemu-devel] [PATCH 1/2] net: fix trace when debug is activated in slirp |
Date: |
Sat, 5 Mar 2011 14:18:33 +0200 |
Thanks, applied both.
On Thu, Mar 3, 2011 at 12:25 AM, Vincent Palatin <address@hidden> wrote:
> make the code compile correctly when DEBUG is activated.
>
> Signed-off-by: Vincent Palatin <address@hidden>
> ---
> slirp/bootp.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/slirp/bootp.c b/slirp/bootp.c
> index 0905c6d..1eb2ed1 100644
> --- a/slirp/bootp.c
> +++ b/slirp/bootp.c
> @@ -284,7 +284,7 @@ static void bootp_reply(Slirp *slirp, const struct
> bootp_t *bp)
> } else {
> static const char nak_msg[] = "requested address not available";
>
> - DPRINTF("nak'ed addr=%08x\n", ntohl(preq_addr->s_addr));
> + DPRINTF("nak'ed addr=%08x\n", ntohl(preq_addr.s_addr));
>
> *q++ = RFC2132_MSG_TYPE;
> *q++ = 1;
> --
> 1.7.3.1
>
>
>