Fixed make_adj_lsa_prefix_for_repo() in nlsr_lsdb.c
diff --git a/nlsr-sync-0.0/nlsrc.c b/nlsr-sync-0.0/nlsrc.c
index 44ce2ad..8943973 100755
--- a/nlsr-sync-0.0/nlsrc.c
+++ b/nlsr-sync-0.0/nlsrc.c
@@ -38,7 +38,7 @@
int len;
struct sockaddr_in address;
int result;
- int byteSend;
+ int bytesSent;
char *server_address, *server_port;
int command_len=0;
@@ -92,7 +92,8 @@
exit(1);
}
printf("Command to send: %s \n",command);
- byteSend=send(sockfd, command, strlen(command),0);
+ bytesSent=send(sockfd, command, strlen(command),0);
+ printf("Command len: %d, Bytes sent: %d \n",strlen(command), bytesSent);
recv(sockfd, recv_buffer, 1024, 0);
printf("%s\n",recv_buffer);
free(command);