login
Login
/
Register
Search
Search this site:
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
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Stephen Hemminger
Subject:
Re: [PATCH] [resend]The kernel gets no IP from some DHCP servers, 2.6.24
Date: Wednesday, February 27, 2008 - 9:38 am
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 serve ...
, Wappler Marcel
, (Wed Feb 27, 5:23 am)
Re: [PATCH] [resend]The kernel gets no IP from some DHCP s ...
, Patrick McHardy
, (Wed Feb 27, 5:46 am)
RE: [PATCH] [resend]The kernel gets no IP from some DHCP s ...
, Wappler Marcel
, (Wed Feb 27, 6:11 am)
Re: [PATCH] [resend]The kernel gets no IP from some DHCP s ...
, Stephen Hemminger
, (Wed Feb 27, 9:38 am)
RE: [PATCH] [resend]The kernel gets no IP from some DHCP s ...
, Wappler Marcel
, (Wed Feb 27, 10:25 am)
Re: [PATCH] [resend]The kernel gets no IP from some DHCP s ...
, David Miller
, (Wed Feb 27, 12:13 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Trenton D. Adams
Re: Flash IO slow 1.5 MB/s
Alan Cox
Re: Please add ZFS support (from GPL sources)
S K
Re: cpufreq doesn't seem to work in Intel Q9300
Bart Van Assche
Re: Is gcc thread-unsafe?
Con Kolivas
Re: [PATCH][RSDL-mm 0/7] RSDL cpu scheduler for 2.6.21-rc3-mm2
git
:
Junio C Hamano
Re: git-svnimport
Johannes Schindelin
Re: [PATCH] Fix approxidate("never") to always return 0
A Large Angry SCM
Re: [RFC] origin link for cherry-pick and revert
Junio C Hamano
Re: [PATCH] Detached HEAD (experimental)
Mark Burton
Re: Sporadic BSOD with msys git?
git-commits-head
:
Linux Kernel Mailing List
ath9k_htc: Allocate URBs properly
Linux Kernel Mailing List
sm501: add power control callback
Linux Kernel Mailing List
powerpc/kexec: Add support for FSL-BookE
Linux Kernel Mailing List
V4L/DVB (8976): af9015: Add USB ID for AVerMedia A309
Linux Kernel Mailing List
ARM: 5670/1: bcmring: add default configuration for bcmring arch
linux-netdev
:
Daniel Lezcano
getsockopt(TCP_DEFER_ACCEPT) value change
David Miller
Re: 2.6.27.18: bnx2/tg3: BUG: "scheduling while atomic" trying to ifenslave a seco...
Ingo Molnar
Re: [regression] nf_iterate(), BUG: unable to handle kernel NULL pointer dereference
Jeff Kirsher
[net-2.6 PATCH 2/5] e1000e: increase swflag acquisition timeout for ICHx/PCH
Gerrit Renker
[PATCH 37/37] dccp: Debugging functions for feature negotiation
openbsd-misc
:
daniele.pilenga
snmpd hangs on 4.1 looking up hrSWRunTable
Christophe Rioux
Implementation example of snmp
Nick Holland
Re: booting openbsd on eee without cd-rom
Bryan Irvine
Re: OpenBSD 4.7 Released, May 19 2010
Cabillot Julien
Re: OpenBSD isakmpd and pf vs Cisco PIX or ASA
Colocation donated by:
Syndicate