aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;