Просмотр исходного кода

Use a bigger buffer for the initiator IQN

tags/v0.9.3
Michael Brown 19 лет назад
Родитель
Сommit
024809d454
1 измененных файлов: 1 добавлений и 1 удалений
  1. 1
    1
      src/tests/dhcptest.c

+ 1
- 1
src/tests/dhcptest.c Просмотреть файл

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];

Загрузка…
Отмена
Сохранить