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

Implement check for max title length #11

Merged
merged 1 commit into from
Oct 17, 2019
Merged

Implement check for max title length #11

merged 1 commit into from
Oct 17, 2019

Conversation

bastelfreak
Copy link
Member

Pull Request (PR) description

This Pull Request (PR) fixes the following issues

@bastelfreak bastelfreak added the enhancement New feature or request label Oct 17, 2019
@bastelfreak bastelfreak self-assigned this Oct 17, 2019
@bastelfreak bastelfreak merged commit cc90eb3 into master Oct 17, 2019
@bastelfreak bastelfreak deleted the bla branch October 17, 2019 14:38
@WoutResseler
Copy link
Contributor

@bastelfreak Is there any specific reason why you made the max title length 26 chars? I ran into this limit today and was wondering what the reasoning behind this limit is :)

@bastelfreak
Copy link
Member Author

I think there is a limit of 32 chars within ipsets. during an update, the script creates a temporary chain with the original name + somthing like -temp which hits the 32 chars limit.

@bastelfreak
Copy link
Member Author

https://github.com/voxpupuli/puppet-ipset/blob/master/files/ipset_sync#L225 I think that's the prefix we prepend to the original set name.

@WoutResseler
Copy link
Contributor

Ah I see, that makes sense! Thanks for the quick response :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants