summaryrefslogtreecommitdiffstats
path: root/dhcp.c
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-11-14 09:39:09 +0000
committerRoy Marples <roy@marples.name>2008-11-14 09:39:09 +0000
commit10bcbb5d6b5b100f8e91a17658fbf5d0a65d95c1 (patch)
treed619b1d000e5b148c5485269e1c702629ebb1cfb /dhcp.c
parent6b9750ea051be312f7cb4721a34d306446934c7a (diff)
downloaddhcpcd-10bcbb5d6b5b100f8e91a17658fbf5d0a65d95c1.tar.xz
When declining a DHCP lease and we have an IPv4LL one, don't re announce our IPv4LL lease.
Diffstat (limited to 'dhcp.c')
-rw-r--r--dhcp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dhcp.c b/dhcp.c
index 9f84a3ff..7c8d7aa1 100644
--- a/dhcp.c
+++ b/dhcp.c
@@ -774,7 +774,7 @@ make_message(struct dhcp_message **message,
if ((type == DHCP_INFORM ||
type == DHCP_RELEASE ||
type == DHCP_REQUEST) &&
- !IN_LINKLOCAL(ntohl(iface->addr.s_addr)))
+ !IN_LINKLOCAL(ntohl(iface->addr.s_addr)))
{
dhcp->ciaddr = iface->addr.s_addr;
/* Just incase we haven't actually configured the address yet */