X-Git-Url: http://git.openafs.org/?p=openafs.git;a=blobdiff_plain;f=src%2Fviced%2Fviced.c;h=a26676a04aac74fd62dd52f4b6ff89b135a121dc;hp=dca17000610b1762349a2a6a1ec603385b2fd490;hb=02dede5d40a55421ab4f093c1c90b8f785a40ec1;hpb=794748af87134d0b89fbca3be6e0480a96a0655c diff --git a/src/viced/viced.c b/src/viced/viced.c index dca1700..a26676a 100644 --- a/src/viced/viced.c +++ b/src/viced/viced.c @@ -1836,6 +1836,7 @@ main(int argc, char *argv[]) int curLimit; time_t t; struct tm tm; + char hoststr[16]; afs_uint32 rx_bindhost; VolumePackageOptions opts; @@ -2004,6 +2005,8 @@ main(int argc, char *argv[]) rx_SetUdpBufSize(udpBufSize); /* set the UDP buffer size for receive */ rx_bindhost = SetupVL(); + ViceLog(0, ("File server binding rx to %s:%d\n", + afs_inet_ntoa_r(rx_bindhost, hoststr), 7000)); if (rx_InitHost(rx_bindhost, (int)htons(7000)) < 0) { ViceLog(0, ("Cannot initialize RX\n")); exit(1); @@ -2202,7 +2205,6 @@ main(int argc, char *argv[]) if (!he) { ViceLog(0, ("Can't find address for FileServer '%s'\n", FS_HostName)); } else { - char hoststr[16]; memcpy(&FS_HostAddr_NBO, he->h_addr, 4); (void)afs_inet_ntoa_r(FS_HostAddr_NBO, hoststr); FS_HostAddr_HBO = ntohl(FS_HostAddr_NBO);