login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
February
»
27
Re: [PATCH] [resend]The kernel gets no IP from some DHCP servers, 2.6.24
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Stephen Hemminger <shemminger@...>
To: Wappler Marcel <Marcel.Wappler@...>
Cc: Patrick McHardy <kaber@...>, <linux-kernel@...>, <netdev@...>, <davem@...>, <ebiederman@...>
Subject:
Re: [PATCH] [resend]The kernel gets no IP from some DHCP servers, 2.6.24
Date: Wednesday, February 27, 2008 - 12:38 pm
On Wed, 27 Feb 2008 14:11:55 +0100 "Wappler Marcel" <Marcel.Wappler@bridgeco.net> wrote:
quoted text
> -----Original Message----- > >> #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. > My first try went in this direction. But at a second look I thought > that the names ANY (255.255.255.255) and NONE (0.0.0.0) are indirect > leading to confusion. The interpretation of the zero addresses in > the DHCPDISCOVER packet is in the kind of 'no address' and not of > 'any addressee'. So the meaning and usage of INADDR_ANY and ZERO > may be totally different in this file. > In my opinion it is necessary to distinguish between INADDR_ANY > and the ZERO address which ist requested to be in the DHCPDISCOVER > packet. >
Just delete the lines and the address will be zero because of earlier memset(). --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[PATCH] [resend]The kernel gets no IP from some DHCP servers...
, Wappler Marcel
, (Wed Feb 27, 8:23 am)
Re: [PATCH] [resend]The kernel gets no IP from some DHCP ser...
, David Miller
, (Wed Feb 27, 3:13 pm)
Re: [PATCH] [resend]The kernel gets no IP from some DHCP ser...
, Patrick McHardy
, (Wed Feb 27, 8:46 am)
RE: [PATCH] [resend]The kernel gets no IP from some DHCP ser...
, Wappler Marcel
, (Wed Feb 27, 9:11 am)
Re: [PATCH] [resend]The kernel gets no IP from some DHCP ser...
, Stephen Hemminger
, (Wed Feb 27, 12:38 pm)
RE: [PATCH] [resend]The kernel gets no IP from some DHCP ser...
, Wappler Marcel
, (Wed Feb 27, 1:25 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Theodore Tso
Re: -mm merge plans for 2.6.23 -- sys_fallocate
Greg Kroah-Hartman
[PATCH 005/196] Chinese: add translation of SubmittingDrivers
Christoph Hellwig
Re: [malware-list] [RFC 0/5] [TALPA] Intro to a linux interface for on access scan...
Andi Kleen
[PATCH] [0/45] x86 2.6.24 patches review I
git
:
openbsd-misc
:
linux-netdev
:
Wenji Wu
RE: A Linux TCP SACK Question
David Miller
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
David Miller
Re: [GIT]: Networking
Colocation donated by:
Who's online
There are currently
6 users
and
833 guests
online.
Online users
fanday
strcmp
acare
keithbartramqv
familyguyqzxli
countyjailinma
Syndicate