Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deflate option causes mysterious log #531

Open
marvinborner opened this issue Oct 28, 2024 · 2 comments
Open

Deflate option causes mysterious log #531

marvinborner opened this issue Oct 28, 2024 · 2 comments

Comments

@marvinborner
Copy link

In my peer/<name> file I've set deflate 9. Now, when running pon <name>, I get

deflate option value of 9 changed to 9 to avoid zlib bug

which is confusing.

@paulusmack
Copy link
Collaborator

What version of PPP are you using, and are you using a distro version, and have you made any local modifications?

The reason I'm asking is that this is the relevant line of the current upstream source:

        warn("deflate option value of %d changed to %d to avoid zlib bug",
             DEFLATE_MIN_SIZE, DEFLATE_MIN_WORKS);

DEFLATE_MIN_SIZE is defined to be 8 in include/linux/ppp-comp.h, and DEFLATE_MIN_WORKS is defined to be 9 in pppd/ccp.c. So I think the version you're using must have been modified from the upstream version.

@marvinborner
Copy link
Author

Huh, interesting. I use Arch Linux with a normal linux kernel (6.10.7-arch1-1) with the default ppp installation from [extra].

$ pppd --help
ppp v2.5.1
Copyright (C) 1999-2022 Paul Mackerras, and others. All rights reserved.

It works regardless of the warning, so we may as well close this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants