diff options
Diffstat (limited to 'usr.sbin/relayd/relay_udp.c')
-rw-r--r-- | usr.sbin/relayd/relay_udp.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/usr.sbin/relayd/relay_udp.c b/usr.sbin/relayd/relay_udp.c index 18f7e7c6ae7..9d871c5af87 100644 --- a/usr.sbin/relayd/relay_udp.c +++ b/usr.sbin/relayd/relay_udp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: relay_udp.c,v 1.29 2014/06/25 11:05:15 reyk Exp $ */ +/* $OpenBSD: relay_udp.c,v 1.30 2014/07/09 16:42:05 reyk Exp $ */ /* * Copyright (c) 2007 - 2013 Reyk Floeter <reyk@openbsd.org> @@ -52,7 +52,7 @@ extern objid_t relay_conid; extern int proc_id; extern int debug; -struct relayd *env = NULL; +static struct relayd *env = NULL; struct shuffle relay_shuffle; int relay_udp_socket(struct sockaddr_storage *, in_port_t, @@ -249,8 +249,6 @@ relay_udp_server(int fd, short sig, void *arg) con->se_out.con = con; con->se_relay = rlay; con->se_id = ++relay_conid; - con->se_in.tree = &proto->request_tree; - con->se_out.tree = &proto->response_tree; con->se_in.dir = RELAY_DIR_REQUEST; con->se_out.dir = RELAY_DIR_RESPONSE; con->se_retry = rlay->rl_conf.dstretry; |