summaryrefslogtreecommitdiff
path: root/usr/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'usr/config.h')
-rw-r--r--usr/config.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr/config.h b/usr/config.h
index 47b8d9b..8fd1f77 100644
--- a/usr/config.h
+++ b/usr/config.h
@@ -22,9 +22,11 @@
#include <netdb.h>
#include <net/if.h>
+
#include "types.h"
#include "auth.h" /* for the username and password sizes */
#include "list.h"
+#include "iscsi_net_util.h"
/* ISIDs now have a typed naming authority in them. We use an OUI */
#define DRIVER_ISID_0 0x00
@@ -197,7 +199,7 @@ typedef struct iface_rec {
* TODO: we may have to make this bigger and interconnect
* specific for infinniband
*/
- char hwaddress[ISCSI_MAX_IFACE_LEN];
+ char hwaddress[ISCSI_HWADDRESS_BUF_SIZE];
char transport_name[ISCSI_TRANSPORT_NAME_MAXLEN];
/*
* This is only used for boot now, but the iser guys