search for: multistate_ptr

Displaying 4 results from an estimated 4 matches for "multistate_ptr".

2013 Oct 07
4
Feature request: FQDN Host match
Hello! I'm hoping that Gmail won't HTML format this mail so that I'll get flamed :) Anyway, my question relates to ssh_config. The problem I find is that the Host pattern is only applied to the argument given on the command line, as outlined in the man page: "The host is the hostname argument given on the command line (i.e. the name is not converted to a canonicalized host name
2014 Feb 10
0
[PATCH] Basic SCTP support for OpenSSH client and server
..."ignoreunknown", oIgnoreUnknown }, { NULL, oBadOption } @@ -1370,6 +1375,10 @@ parse_int: } break; + case oConnectViaSCTP: + intptr = &options->connect_via_sctp; + goto parse_flag; + case oCanonicalizeHostname: intptr = &options->canonicalize_hostname; multistate_ptr = multistate_canonicalizehostname; @@ -1550,6 +1559,7 @@ initialize_options(Options * options) options->canonicalize_max_dots = -1; options->canonicalize_fallback_local = -1; options->canonicalize_hostname = -1; + options->connect_via_sctp = -1; } /* @@ -1709,6 +1719,8 @@ fill...
2017 Jan 15
4
[Bug 2664] New: Boolean option parsing is excessively case-sensitive
...the options handled by parse_multistate in servconf.c and (2) the corresponding code in readconf.c to handle client options, both of which use strcasecmp. I'd suggest that it would make sense to make the handling in servconf.c work the same way as that in readconf.c, where parse_flag just sets multistate_ptr = multistate_flag and falls through to parse_multistate; the code would even be shorter as a result. -- You are receiving this mail because: You are watching the assignee of the bug.
2011 Jun 22
3
sandbox pre-auth privsep child
...uot;, PRIVSEP_ON }, + { "no", PRIVSEP_OFF }, + { NULL, -1 } +}; int process_server_config_line(ServerOptions *options, char *line, @@ -1066,7 +1072,8 @@ process_server_config_line(ServerOptions case sUsePrivilegeSeparation: intptr = &use_privsep; - goto parse_flag; + multistate_ptr = multistate_privsep; + goto parse_multistate; case sAllowUsers: while ((arg = strdelim(&cp)) && *arg != '\0') { @@ -1549,31 +1556,34 @@ parse_server_config(ServerOptions *optio } static const char * -fmt_intarg(ServerOpCodes code, int val) +fmt_multistate_int(int va...