aboutsummaryrefslogtreecommitdiff
path: root/sys/netgraph/ng_socket.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/netgraph/ng_socket.c')
-rw-r--r--sys/netgraph/ng_socket.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netgraph/ng_socket.c b/sys/netgraph/ng_socket.c
index 43475ef82be5d..357c2a924acc3 100644
--- a/sys/netgraph/ng_socket.c
+++ b/sys/netgraph/ng_socket.c
@@ -276,7 +276,7 @@ printf("errx=%d\n",error);
#else
/* The callee will free the msg when done. The path is our business. */
- NG_SEND_MSG_PATH(error, pcbp->sockdata->node, msg, path, NULL);
+ NG_SEND_MSG_PATH(error, pcbp->sockdata->node, msg, path, 0);
#endif
release:
if (path != NULL)
@@ -650,7 +650,7 @@ ng_connect_data(struct sockaddr *nam, struct ngpcb *pcbp)
if (item == NULL) {
return (ENOMEM);
}
- if ((error = ng_address_path(NULL, item, sap->sg_data, NULL)))
+ if ((error = ng_address_path(NULL, item, sap->sg_data, 0)))
return (error); /* item is freed on failure */
/*