Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
R re6stnet
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 2
    • Issues 2
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge requests 4
    • Merge requests 4
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • nexedi
  • re6stnet
  • Merge requests
  • !17

Merged
Created May 13, 2019 by Ghost User@ghostContributor

fix disable-proto option

  • Overview 3
  • Commits 1
  • Changes 1

The default value for disable-proto is {'udp', 'udp6'}, and it's not possible to get { } as a final value for disable-proto when passing option disable-proto <proto>, because this results in disable_proto being equal to {'udp', 'udp6', }. Similarly, passing both disable-proto <proto> and disable-proto none results in the none overwriting anything else, resulting in disable_proto being an empty list. The goal here is to allow to only keep the protocol we want to disable when passing disable-proto <proto>, the default 'udp' and 'udp6' are in this case only added to disable_proto if no disable-proto option is found.

/cc @tomo @jm

Assignee
Assign to
Reviewer
Request review from
None
Milestone
None
Assign milestone
Time tracking
Source branch: killian_fix_conf
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7