[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <47C55BBF.7080501@trash.net>
Date: Wed, 27 Feb 2008 13:46:55 +0100
From: Patrick McHardy <kaber@...sh.net>
To: Wappler Marcel <Marcel.Wappler@...dgeco.net>
CC: linux-kernel@...r.kernel.org, netdev@...r.kernel.org,
davem@...emloft.net, ebiederman@...i.com
Subject: Re: [PATCH] [resend]The kernel gets no IP from some DHCP servers,
2.6.24
Wappler Marcel wrote:
> --- linux-2.6.24.2/net/ipv4/ipconfig.c 2008-02-21 15:27:47.250890963 +0100
> +++ linux/net/ipv4/ipconfig.c 2008-02-21 15:36:12.686735925 +0100
> @@ -29,6 +29,10 @@
> *
> * Multiple Nameservers in /proc/net/pnp
> * -- Josef Siemes <jsiemes@....de>, Aug 2002
> + *
> + * Bugfix: Not getting an IP from some DHCP servers: RFC2131 page 36
> + * Table 5 requests DHCPDISCOVER fields ciaddr and siaddr MUST be '0'.
> + * -- marcel.wappler@...dgeco.net
> */
Please don't add changelogs to source files, git keeps track of
them.
> #include <linux/types.h>
> @@ -103,6 +107,7 @@
> - '3' from resolv.h */
>
> #define NONE __constant_htonl(INADDR_NONE)
> +#define ZERO __constant_htonl(((unsigned long int) 0x00000000))
This should probably use INADDR_ANY.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists