diff options
author | Archie Cobbs <archie@FreeBSD.org> | 2002-02-02 21:16:53 +0000 |
---|---|---|
committer | Archie Cobbs <archie@FreeBSD.org> | 2002-02-02 21:16:53 +0000 |
commit | f3004f7e88d024127b47cd03fce924484faa46f5 (patch) | |
tree | ae31e1fe750e1ea9479faa1bca7df9041b8a0bae /sys | |
parent | 248e2642bca0f2c75fcc3d189e7ef8aad09e4876 (diff) | |
download | src-test2-f3004f7e88d024127b47cd03fce924484faa46f5.tar.gz src-test2-f3004f7e88d024127b47cd03fce924484faa46f5.zip |
Notes
Diffstat (limited to 'sys')
-rw-r--r-- | sys/netgraph/ng_ksocket.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netgraph/ng_ksocket.c b/sys/netgraph/ng_ksocket.c index b254b25a8530..b9231b2a4373 100644 --- a/sys/netgraph/ng_ksocket.c +++ b/sys/netgraph/ng_ksocket.c @@ -725,7 +725,7 @@ ng_ksocket_rcvmsg(node_p node, struct ng_mesg *msg, sopt.sopt_dir = SOPT_GET; sopt.sopt_level = ksopt->level; sopt.sopt_name = ksopt->name; - sopt.sopt_p = p; + sopt.sopt_p = NULL; sopt.sopt_valsize = NG_KSOCKET_MAX_OPTLEN; ksopt = (struct ng_ksocket_sockopt *)resp->data; sopt.sopt_val = ksopt->value; @@ -759,7 +759,7 @@ ng_ksocket_rcvmsg(node_p node, struct ng_mesg *msg, sopt.sopt_name = ksopt->name; sopt.sopt_val = ksopt->value; sopt.sopt_valsize = valsize; - sopt.sopt_p = p; + sopt.sopt_p = NULL; error = sosetopt(so, &sopt); break; } |