summaryrefslogtreecommitdiffstats
path: root/sys/netgraph/ng_mppc.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/netgraph/ng_mppc.c')
-rw-r--r--sys/netgraph/ng_mppc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netgraph/ng_mppc.c b/sys/netgraph/ng_mppc.c
index ec1428f..8da6ebd 100644
--- a/sys/netgraph/ng_mppc.c
+++ b/sys/netgraph/ng_mppc.c
@@ -368,7 +368,7 @@ ng_mppc_rcvdata(hook_p hook, item_p item)
if ((error = ng_mppc_decompress(node, m, &out)) != 0) {
NG_FREE_M(m);
NG_FREE_ITEM(item);
- if (error == EINVAL && priv->ctrlnode != NULL) {
+ if (error == EINVAL && priv->ctrlnode != 0) {
struct ng_mesg *msg;
/* Need to send a reset-request */
@@ -377,7 +377,7 @@ ng_mppc_rcvdata(hook_p hook, item_p item)
if (msg == NULL)
return (error);
NG_SEND_MSG_ID(error, node, msg,
- priv->ctrlnode, NULL);
+ priv->ctrlnode, 0);
}
return (error);
}
OpenPOWER on IntegriCloud