Enhance the bbmd registration for demos.

This commit is contained in:
skarg
2008-01-22 01:43:18 +00:00
parent 5bef9a18e2
commit a63ff67e18
2 changed files with 10 additions and 2 deletions
+2 -2
View File
@@ -228,8 +228,8 @@ int main(
if (bbmd_address) {
struct in_addr addr;
addr.s_addr = bbmd_address;
printf("WhoIs: Registering with BBMD at %s:%ld\n",
inet_ntoa(addr),bbmd_port);
printf("WhoIs: Registering with BBMD at %s:%ld for %ld seconds\n",
inet_ntoa(addr),bbmd_port, bbmd_timetolive_seconds);
bvlc_register_with_bbmd(
bbmd_address,
bbmd_port,