aboutsummaryrefslogtreecommitdiff
path: root/lib/libnetgraph
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libnetgraph')
-rw-r--r--lib/libnetgraph/msg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libnetgraph/msg.c b/lib/libnetgraph/msg.c
index 534d1d181d48..c94645997acb 100644
--- a/lib/libnetgraph/msg.c
+++ b/lib/libnetgraph/msg.c
@@ -234,7 +234,7 @@ NgDeliverMsg(int cs, const char *path,
}
/* Wait for reply if there should be one. */
- if (msg->header.cmd & NGM_HASREPLY) {
+ if (msg->header.cmd & NGM_HASREPLY && !(msg->header.flags & NGF_RESP)) {
struct pollfd rfds;
int n;