summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOndrej Zajicek <santiago@crfreenet.org>2009-06-25 15:44:43 +0200
committerOndrej Zajicek <santiago@crfreenet.org>2009-06-25 15:44:43 +0200
commit1876e18d32fa4b21888aae2c984b1b61338c3e60 (patch)
tree523c0bb42e4e2bb8f62caa6a7cbd8ae93c833eda
parent200ede8226a4173b2405bcd1c98cf20604c33545 (diff)
Minor bugfix.
-rw-r--r--sysdep/unix/io.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sysdep/unix/io.c b/sysdep/unix/io.c
index 91ca4c6e..c86c1200 100644
--- a/sysdep/unix/io.c
+++ b/sysdep/unix/io.c
@@ -599,6 +599,7 @@ sk_new(pool *p)
s->saddr = s->daddr = IPA_NONE;
s->sport = s->dport = 0;
s->tos = s->ttl = -1;
+ s->flags = 0;
s->iface = NULL;
s->rbuf = NULL;
s->rx_hook = NULL;