Repond properly to NGM_TEXT_CONFIG messages.

This commit is contained in:
Poul-Henning Kamp 2002-08-04 20:50:50 +00:00
parent 1cbd978e96
commit e26ebcce25

View File

@ -369,6 +369,7 @@ ngmn_rcvmsg(node_p node, item_p item, hook_p lasthook)
if (msg->header.cmd == NGM_TEXT_CONFIG) {
ngmn_config(node, s, r);
resp->header.arglen = strlen(r) + 1;
NG_RESPOND_MSG(i, node, item, resp);
FREE(msg, M_NETGRAPH);
return (0);
}