aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Stewart <pstew@google.com>2011-03-25 14:21:44 -0700
committerDmitry Shmidt <dimitrysh@google.com>2011-03-25 14:38:40 -0700
commit17fdc0dee1db0246a59cd3b28278389043fe5134 (patch)
treed802f486443dddde92d5e258dfead6e0fccbd5b2
parent6a10bd1262fd1eb97d3a4ab89507901f9631f32a (diff)
downloadexternal_dhcpcd-17fdc0dee1db0246a59cd3b28278389043fe5134.zip
external_dhcpcd-17fdc0dee1db0246a59cd3b28278389043fe5134.tar.gz
external_dhcpcd-17fdc0dee1db0246a59cd3b28278389043fe5134.tar.bz2
dhcp: Remove errant extra ref (DO NOT MERGE) [bug: 4174566]
Change-Id: If2e7a394c9ab65f7a8d69a4e7b240705204bd34c Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
-rw-r--r--dhcp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dhcp.c b/dhcp.c
index 1854cf2..244f5f2 100644
--- a/dhcp.c
+++ b/dhcp.c
@@ -318,7 +318,7 @@ exit:
*len = bl;
if (bp) {
memcpy(bp, op, ol);
- return (const uint8_t *)&dhcp_opt_buffer;
+ return (const uint8_t *)dhcp_opt_buffer;
}
if (op)
return op;