Skip to content

Fix axelrc parsing for interfaces list values#473

Open
codecrypt112 wants to merge 1 commit intoaxel-download-accelerator:masterfrom
codecrypt112:codecrypt112/issue-401-interfaces-axelrc
Open

Fix axelrc parsing for interfaces list values#473
codecrypt112 wants to merge 1 commit intoaxel-download-accelerator:masterfrom
codecrypt112:codecrypt112/issue-401-interfaces-axelrc

Conversation

@codecrypt112
Copy link

Summary

  • preserve the full config value after = instead of truncating at first whitespace
  • trim only trailing whitespace from config values
  • this allows interfaces = ip1 ip2 ip3 to be parsed as an actual list

Why

Issue #401 reports that interfaces appears to do nothing. The parser currently truncates values at the first space, so only the first token survives.

Closes #401

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.

axelrc interfaces option does not actually do anything

1 participant