summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/svlogd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/svlogd.c b/src/svlogd.c
index 033f5f6..66d4006 100644
--- a/src/svlogd.c
+++ b/src/svlogd.c
@@ -430,6 +430,7 @@ unsigned int logdir_open(struct logdir *ld, const char *fn) {
   ld->name =(char*)fn;
   ld->ppid =0;
   ld->match ='+';
+  ld->udpaddr.sin_family =AF_INET;
   ld->udpaddr.sin_port =0;
   ld->udponly =0;
   while (! stralloc_copys(&ld->prefix, "")) pause_nomem();