diff options
-rw-r--r-- | usr.sbin/relayd/parse.y | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/relayd/parse.y b/usr.sbin/relayd/parse.y index e4a49edcab0..2b6e879364b 100644 --- a/usr.sbin/relayd/parse.y +++ b/usr.sbin/relayd/parse.y @@ -1,4 +1,4 @@ -/* $OpenBSD: parse.y,v 1.113 2008/05/07 01:49:29 reyk Exp $ */ +/* $OpenBSD: parse.y,v 1.114 2008/05/08 02:15:34 reyk Exp $ */ /* * Copyright (c) 2007, 2008 Reyk Floeter <reyk@openbsd.org> @@ -1062,6 +1062,7 @@ relay : RELAY STRING { r->rl_proto = NULL; r->rl_conf.proto = EMPTY_ID; r->rl_conf.dsttable = EMPTY_ID; + r->rl_conf.dstmode = RELAY_DSTMODE_DEFAULT; r->rl_conf.dstretry = 0; if (last_relay_id == INT_MAX) { yyerror("too many relays defined"); |