From: claudio Date: Sat, 19 Apr 2014 18:19:57 +0000 (+0000) Subject: Replace a magic number. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=81d087b1e5586d777c64ae825406ebdf2b84c1bd;p=openbsd Replace a magic number. --- 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;