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

router_readconfig: adjust a, cl, and r after reading all includes. #182

Merged
merged 1 commit into from
Jun 4, 2016
Merged

router_readconfig: adjust a, cl, and r after reading all includes. #182

merged 1 commit into from
Jun 4, 2016

Conversation

iain-buclaw-sociomantic
Copy link
Contributor

@iain-buclaw-sociomantic iain-buclaw-sociomantic commented Jun 3, 2016

Another symptom that can cause rules to be overwritten as in #180.

After finishing parsing all includes, update local chain to point to the "new" end of the linked list.

Added a testcase in issues, the expected output is:

match foo
    send to blackhole
    stop
    ;
match baz
    send to blackhole
    stop
    ;
match bar
    send to blackhole
    stop
    ;

Without this change, match baz disappears.

Another symptom that can cause rules to be overwritten as in #180.

After finishing parsing all includes, update local chain to point to the
"new" end of the linked list.
@grobian grobian merged commit ce0afbd into grobian:master Jun 4, 2016
@iain-buclaw-sociomantic iain-buclaw-sociomantic deleted the updatelists branch June 6, 2016 08:54
@iain-buclaw-sociomantic
Copy link
Contributor Author

Thanks!

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

Successfully merging this pull request may close these issues.

2 participants