projects
/
freeradius.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1b49c9e
)
Correct args to memset
author
Alan T. DeKok
<aland@freeradius.org>
Sun, 17 Feb 2013 20:14:22 +0000
(15:14 -0500)
committer
Alan T. DeKok
<aland@freeradius.org>
Sun, 17 Feb 2013 20:14:22 +0000
(15:14 -0500)
src/modules/rlm_dhcp/rlm_dhcp.c
patch
|
blob
|
history
diff --git
a/src/modules/rlm_dhcp/rlm_dhcp.c
b/src/modules/rlm_dhcp/rlm_dhcp.c
index
13b16ce
..
a3b8bf6
100644
(file)
--- a/
src/modules/rlm_dhcp/rlm_dhcp.c
+++ b/
src/modules/rlm_dhcp/rlm_dhcp.c
@@
-124,7
+124,7
@@
static int dhcp_instantiate(CONF_SECTION *conf, void **instance)
if (!inst) {
return -1;
}
- memset(inst, 0, sizeof(inst));
+ memset(inst, 0, sizeof(
*
inst));
xlat_register("dhcp_options", dhcp_options_xlat, inst);