summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReyk Floeter <reyk@cvs.openbsd.org>2008-02-11 10:53:13 +0000
committerReyk Floeter <reyk@cvs.openbsd.org>2008-02-11 10:53:13 +0000
commita4c637c59db48e8fa74c2ecacfa3e789f109c367 (patch)
treee37f4ad494a5d327e16b1203893165217e0c044b
parent4f77a014e2652c1f57fecbf8248f1a508abc1800 (diff)
unbreak the dns protocol handler, closes pr 5717
Thanks to Nigel Taylor
-rw-r--r--usr.sbin/relayd/parse.y3
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.sbin/relayd/parse.y b/usr.sbin/relayd/parse.y
index 7d29fe1555b..85322751e79 100644
--- a/usr.sbin/relayd/parse.y
+++ b/usr.sbin/relayd/parse.y
@@ -1,4 +1,4 @@
-/* $OpenBSD: parse.y,v 1.104 2008/02/11 10:42:50 reyk Exp $ */
+/* $OpenBSD: parse.y,v 1.105 2008/02/11 10:53:12 reyk Exp $ */
/*
* Copyright (c) 2006 Pierre-Yves Ritschard <pyr@openbsd.org>
@@ -687,7 +687,6 @@ proto : proto_type PROTO STRING {
p->id = last_proto_id++;
p->type = $1;
p->cache = RELAY_CACHESIZE;
- p->type = RELAY_PROTO_TCP;
p->tcpflags = TCPFLAG_DEFAULT;
p->sslflags = SSLFLAG_DEFAULT;
p->tcpbacklog = RELAY_BACKLOG;