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

Cisco/IOS port range of "0-65535" gets converted to bad "lt 65536" #49

Closed
jathanism opened this Issue Oct 11, 2012 · 0 comments

Comments

Projects
None yet
1 participant
@jathanism
Member

jathanism commented Oct 11, 2012

When syntax-checking a policy with a port range of 0-65535, the parser turns this:

access-list 123 permit tcp host 1. host 10.62.138.209 range 0 65535

Into this:

access-list 123 permit tcp host 1.2.3.4 host 10.20.30.40 lt 65536

"lt 65536" is not valid. Both Cisco and Foundry devices do not like it. We should change the parser to just keep "range 0 65535" OR just omit the ports altogether.

@jathanism jathanism closed this in 033359b Oct 11, 2012

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