-
-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sshd_config: create multiple entries in configuration file when an ar…
…ray is given as the value, e.g. value => ['10.0.0.1', '10.0.0.2'], becomes ListenAddress 10.0.0.1 ListenAddress 10.0.0.2 Fixes issue #13
- Loading branch information
Dominic Cleal
committed
Sep 18, 2012
1 parent
19a5ceb
commit 3700366
Showing
3 changed files
with
103 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3700366
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.
Hi Alexander,
Oops, thanks for finding that bug. The issue lies in the fact the code handles differently if there's a Match block in the config file, which the test's sample file does. I'm going to build up a few more tests before pushing the fix, to make sure nothing else is broken.
3700366
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.
Great Dominic! :)