From 81d087b1e5586d777c64ae825406ebdf2b84c1bd Mon Sep 17 00:00:00 2001 From: claudio Date: Sat, 19 Apr 2014 18:19:57 +0000 Subject: [PATCH] Replace a magic number. --- usr.sbin/iscsid/initiator.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.sbin/iscsid/initiator.c b/usr.sbin/iscsid/initiator.c index 027b3c4103d..599eef8a5e1 100644 --- a/usr.sbin/iscsid/initiator.c +++ b/usr.sbin/iscsid/initiator.c @@ -1,4 +1,4 @@ -/* $OpenBSD: initiator.c,v 1.9 2011/05/04 21:00:04 claudio Exp $ */ +/* $OpenBSD: initiator.c,v 1.10 2014/04/19 18:19:57 claudio Exp $ */ /* * Copyright (c) 2009 Claudio Jeker @@ -76,7 +76,7 @@ initiator_init(void) /* initialize initiator defaults */ initiator_sess_defaults = iscsi_sess_defaults; initiator_conn_defaults = iscsi_conn_defaults; - initiator_sess_defaults.MaxConnections = 8; + initiator_sess_defaults.MaxConnections = ISCSID_DEF_CONNS; initiator_conn_defaults.MaxRecvDataSegmentLength = 65536; return initiator; -- 2.20.1