summaryrefslogtreecommitdiff
path: root/usr.sbin/iscsid
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2014-04-19 18:19:58 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2014-04-19 18:19:58 +0000
commit4793f7e396338f9cb3e5a2fa27b361c3091fe5c3 (patch)
tree082fee507e632da8ed9653f649e18b5c35b0e857 /usr.sbin/iscsid
parent18a8d778766cd090a15bab8880be0683bf894822 (diff)
Replace a magic number.
Diffstat (limited to 'usr.sbin/iscsid')
-rw-r--r--usr.sbin/iscsid/initiator.c4
1 files 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 <claudio@openbsd.org>
@@ -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;