Fix typo which brokes VJ decompression

when VJC negotiated in only one direction.

Approved by:	re (bmah), glebius (mentor)
This commit is contained in:
Alexander Motin 2007-09-15 16:55:44 +00:00
parent 09fd542e60
commit 6d67c50b39

View File

@ -1039,7 +1039,7 @@ ng_ppp_rcvdata_vjc_ip(hook_p hook, item_p item)
const node_p node = NG_HOOK_NODE(hook);
const priv_p priv = NG_NODE_PRIVATE(node);
if (!priv->conf.enableVJCompression) {
if (!priv->conf.enableVJDecompression) {
NG_FREE_ITEM(item);
return (ENXIO);
}