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

ACL parser should fix invalid port-ranges #17

Closed
jathanism opened this Issue May 2, 2012 · 0 comments

Comments

Projects
None yet
1 participant
@jathanism
Member

jathanism commented May 2, 2012

Such as this:

access-list 2018 permit tcp 172.28.22.0 0.0.0.255 host 172.1.2.3 range 21 20

The dst-ports get parsed into:

<RangeList: [(21, 20)]>

Which should be normalized (sorted) upon creating a RangeList object and result in:

<RangeList: [(20, 21)]>

@ghost ghost assigned jathanism May 2, 2012

@jathanism jathanism closed this in 395a5b3 May 2, 2012

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