summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHajimu UMEMOTO <ume@FreeBSD.org>2001-02-18 15:24:32 +0000
committerHajimu UMEMOTO <ume@FreeBSD.org>2001-02-18 15:24:32 +0000
commit4c0c1e7f2db958c4933ed6f7931cebf6d679bbf4 (patch)
tree2d905df14364be359410dd2f0603a54ab6aa5d3d
parent5393ec4a144cd4397e4c14bd03f3ee7c0b2e59ac (diff)
Notes
-rw-r--r--usr.sbin/rtadvd/config.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.sbin/rtadvd/config.c b/usr.sbin/rtadvd/config.c
index 422011246b9c..4e14e453bb03 100644
--- a/usr.sbin/rtadvd/config.c
+++ b/usr.sbin/rtadvd/config.c
@@ -259,6 +259,8 @@ getconfig(intface)
__FUNCTION__);
exit(1);
}
+ memset(pfx, 0, sizeof(*pfx));
+
/* link into chain */
insque(pfx, &tmp->prefix);