diff --git a/src/viced/host.c b/src/viced/host.c index 654e0a4deb..e65dee0b02 100644 --- a/src/viced/host.c +++ b/src/viced/host.c @@ -2127,7 +2127,6 @@ h_GetHost_r(struct rx_connection *tcon) /* the new host is held and locked */ } else { /* This really is a new host */ - h_AddHostToUuidHashTable_r(&identP->uuid, host); cb_conn = host->callback_rxcon; rx_GetConnection(cb_conn); H_UNLOCK; @@ -4123,6 +4122,8 @@ initInterfaceAddr_r(struct host *host, struct interfaceAddr *interf) opr_Assert(!host->interface); host->interface = interface; + h_AddHostToUuidHashTable_r(&interface->uuid, host); + if (LogLevel >= 125) { afsUUID_to_string(&interface->uuid, uuidstr, 127);