Browse Source

Use a bigger buffer for the initiator IQN

tags/v0.9.3
Michael Brown 18 years ago
parent
commit
024809d454
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/tests/dhcptest.c

+ 1
- 1
src/tests/dhcptest.c View File

45
 static int test_dhcp_iscsi_boot ( struct net_device *netdev ) {
45
 static int test_dhcp_iscsi_boot ( struct net_device *netdev ) {
46
 	char root_path[256];
46
 	char root_path[256];
47
 	char *rp_components[NUM_RP_COMPONENTS];
47
 	char *rp_components[NUM_RP_COMPONENTS];
48
-	char initiator_iqn_buf[32];
48
+	char initiator_iqn_buf[64];
49
 	char *initiator_iqn = initiator_iqn_buf;
49
 	char *initiator_iqn = initiator_iqn_buf;
50
 	char username[32];
50
 	char username[32];
51
 	char password[32];
51
 	char password[32];

Loading…
Cancel
Save