diff options
author | Archie Cobbs <archie@FreeBSD.org> | 2004-11-27 20:29:00 +0000 |
---|---|---|
committer | Archie Cobbs <archie@FreeBSD.org> | 2004-11-27 20:29:00 +0000 |
commit | 2adb8d6ab0323dc620c0d849a41af4da2f7e9818 (patch) | |
tree | 170cf095e11096b7962a8e71c97546489d22921f /sys | |
parent | c8443a1dc07e7d4838e488e2b3a9af15fc88d5b8 (diff) | |
download | src-2adb8d6ab0323dc620c0d849a41af4da2f7e9818.tar.gz src-2adb8d6ab0323dc620c0d849a41af4da2f7e9818.zip |
Disable protocol field compression on the inner PPP frame when also doing
normal PPP compression, as a workaround for certain (arguably) broken
Linux PPP implementations that can't handle this particular case.
MFC after: 1 week
Notes
Notes:
svn path=/head/; revision=138138
Diffstat (limited to 'sys')
-rw-r--r-- | sys/netgraph/ng_ppp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netgraph/ng_ppp.c b/sys/netgraph/ng_ppp.c index 6a0a8de60bb3..94930f7e113e 100644 --- a/sys/netgraph/ng_ppp.c +++ b/sys/netgraph/ng_ppp.c @@ -748,7 +748,7 @@ ng_ppp_rcvdata(hook_p hook, item_p item) case HOOK_INDEX_VJC_VJIP: if (priv->conf.enableCompression && priv->hooks[HOOK_INDEX_COMPRESS] != NULL) { - if ((m = ng_ppp_addproto(m, proto, 1)) == NULL) { + if ((m = ng_ppp_addproto(m, proto, 0)) == NULL) { NGI_M(item) = NULL; NG_FREE_ITEM(item); return (ENOBUFS); |