jonathancammack / rpms / openssh

Forked from rpms/openssh 8 months ago
Clone

Blame SOURCES/openssh-6.6p1-disable-roaming.patch

1edce7
diff -up openssh-6.6p1/readconf.c.roaming openssh-6.6p1/readconf.c
1edce7
--- openssh-6.6p1/readconf.c.roaming	2016-01-13 15:42:00.423573980 +0100
1edce7
+++ openssh-6.6p1/readconf.c	2016-01-13 15:43:03.565529448 +0100
1edce7
@@ -1608,7 +1608,7 @@ initialize_options(Options * options)
1edce7
 	options->tun_remote = -1;
1edce7
 	options->local_command = NULL;
1edce7
 	options->permit_local_command = -1;
1edce7
-	options->use_roaming = -1;
1edce7
+	options->use_roaming = 0;
1edce7
 	options->visual_host_key = -1;
1edce7
 	options->ip_qos_interactive = -1;
1edce7
 	options->ip_qos_bulk = -1;
1edce7
@@ -1783,8 +1783,7 @@ fill_default_options(Options * options)
1edce7
 		options->tun_remote = SSH_TUNID_ANY;
1edce7
 	if (options->permit_local_command == -1)
1edce7
 		options->permit_local_command = 0;
1edce7
-	if (options->use_roaming == -1)
1edce7
-		options->use_roaming = 1;
1edce7
+	options->use_roaming = 0;
1edce7
 	if (options->visual_host_key == -1)
1edce7
 		options->visual_host_key = 0;
1edce7
 	if (options->ip_qos_interactive == -1)