Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Make Juniper work on Windows
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
  • Loading branch information
David Woodhouse authored and David Woodhouse committed Mar 25, 2015
1 parent 09376d7 commit 6978948
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions main.c
Expand Up @@ -1034,11 +1034,6 @@ int main(int argc, char **argv)
}
break;
}
case OPT_JUNIPER:
fprintf(stderr, "WARNING: Juniper Network Connect support is experimental.\n");
fprintf(stderr, "It will probably be superseded by Junos Pulse support.\n");
openconnect_set_protocol(vpninfo, "nc");
break;
case OPT_CSD_USER: {
char *strend;
vpninfo->uid_csd = strtol(config_arg, &strend, 0);
Expand All @@ -1058,6 +1053,11 @@ int main(int argc, char **argv)
vpninfo->csd_wrapper = keep_config_arg();
break;
#endif /* !_WIN32 */
case OPT_JUNIPER:
fprintf(stderr, "WARNING: Juniper Network Connect support is experimental.\n");
fprintf(stderr, "It will probably be superseded by Junos Pulse support.\n");
openconnect_set_protocol(vpninfo, "nc");
break;
case OPT_CONFIGFILE:
if (config_file) {
fprintf(stderr, _("Cannot use 'config' option inside config file\n"));
Expand Down

0 comments on commit 6978948

Please sign in to comment.