Commit 5ea76b5d authored by Leigh Stoller's avatar Leigh Stoller

Patch from Pat Gunn; Reenable event system on keyed bootinfo requests.

parent 0ecc5ef2
......@@ -69,8 +69,12 @@ bootinfo(struct in_addr ipaddr, struct boot_info *boot_info, void *opaque)
case BIOPCODE_BOOTWHAT_KEYED_REQUEST:
info("%s: KEYED REQUEST (key=[%s], vers %d)\n",
inet_ntoa(ipaddr), boot_info->data, boot_info->version);
/* XXX For right now I'm not going to worry about making the event system work in this
code path. */
#ifdef EVENTSYS
needevent = bicache_needevent(ipaddr);
if (needevent)
bievent_send(ipaddr, opaque,
TBDB_NODESTATE_PXEBOOTING);
#endif
err = query_bootinfo_db(ipaddr, boot_info->version, boot_whatp, boot_info->data);
break;
case BIOPCODE_BOOTWHAT_REQUEST:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment