Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge 'tun' config value if set in source configuration
This commit modifies the `merge_config` function to include the 'tun' value from the source configuration if it is set. Previously, this value was not being merged, leading to inconsistencies in the final configuration. The change checks if 'tun' in the source configuration is different from its default value before merging it into the destination configuration. This ensures that the 'tun' setting is correctly propagated when configurations are merged, allowing for more flexible and accurate VPN setups.
- Loading branch information
8b0dc6b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
mea culpa mea ultima culpa
appologies @DimitriPapadopoulos
I have managed to cock that build up by ommiting to pay attention to coding style.
8b0dc6b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does the linter really complain? Don't worry, I'll fix it. Note that I have force-pushed the fix.