add noanswer flag to open interface

This commit is contained in:
Duncan Laurie 2005-05-11 04:42:06 +00:00
parent d69b8e8b7f
commit 24a0b44a98

View File

@ -172,6 +172,9 @@ ipmi_openipmi_send_cmd(struct ipmi_intf * intf, struct ipmi_rq * req)
* wait for and retrieve response
*/
if (intf->noanswer)
return NULL;
FD_ZERO(&rset);
FD_SET(intf->fd, &rset);