Bugzilla – Attachment 2673 Details for
Bug 2414
ControlMaster directive should be ignored on Cygwin
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Make ssh_config IgnoreUnknown silence oUnsupported options too
ignoreunknownunsupported.diff (text/plain), 801 bytes, created by
Damien Miller
on 2015-07-17 13:23:35 AEST
(
hide
)
Description:
Make ssh_config IgnoreUnknown silence oUnsupported options too
Filename:
MIME Type:
Creator:
Damien Miller
Created:
2015-07-17 13:23:35 AEST
Size:
801 bytes
patch
obsolete
>diff --git a/readconf.c b/readconf.c >index b7c3f8e..13e4097 100644 >--- a/readconf.c >+++ b/readconf.c >@@ -647,13 +649,20 @@ parse_token(const char *cp, const char *filename, int linenum, > const char *ignored_unknown) > { > int i; >+ OpCodes r = oBadOption; > >- for (i = 0; keywords[i].name; i++) >- if (strcmp(cp, keywords[i].name) == 0) >- return keywords[i].opcode; >+ for (i = 0; keywords[i].name; i++) { >+ if (strcmp(cp, keywords[i].name) == 0) { >+ if ((r = keywords[i].opcode) != oUnsupported) >+ return r; >+ break; >+ } >+ } > if (ignored_unknown != NULL && > match_pattern_list(cp, ignored_unknown, 1) == 1) > return oIgnoredUnknownOption; >+ if (r == oUnsupported) >+ return r; > error("%s: line %d: Bad configuration option: %s", > filename, linenum, cp); > return oBadOption;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
djm
:
ok?
(
dtucker
)
Actions:
View
|
Diff
Attachments on
bug 2414
: 2673