artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ce1078f
)
Initialize dae objects properly.
author
yasuoka
<yasuoka@openbsd.org>
Wed, 14 Aug 2024 04:47:08 +0000
(
04:47
+0000)
committer
yasuoka
<yasuoka@openbsd.org>
Wed, 14 Aug 2024 04:47:08 +0000
(
04:47
+0000)
usr.sbin/radiusd/radiusd_ipcp.c
patch
|
blob
|
history
diff --git
a/usr.sbin/radiusd/radiusd_ipcp.c
b/usr.sbin/radiusd/radiusd_ipcp.c
index
407af6d
..
3410aa4
100644
(file)
--- a/
usr.sbin/radiusd/radiusd_ipcp.c
+++ b/
usr.sbin/radiusd/radiusd_ipcp.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: radiusd_ipcp.c,v 1.
8 2024/08/01 00:58:14
yasuoka Exp $ */
+/* $OpenBSD: radiusd_ipcp.c,v 1.
9 2024/08/14 04:47:08
yasuoka Exp $ */
/*
* Copyright (c) 2024 Internet Initiative Japan Inc.
@@
-485,6
+485,8
@@
ipcp_config_set(void *ctx, const char *name, int argc, char * const * argv)
}
}
} else if (strcmp(name, "dae") == 0) {
+ memset(&dae, 0, sizeof(dae));
+ dae.sock = -1;
if (!(argc >= 1 || strcmp(argv[1], "server") == 0)) {
module_send_message(module->base, IMSG_NG,
"`%s' is unknown", argv[1]);