View | Details | Raw Unified | Return to bug 3343 | Differences between
and this patch

Collapse All | Expand All

(-)file_not_specified_in_diff (-6 / +7 lines)
Line  Link Here
0
-- openssh-8.4p1.orig/readconf.c
0
++ openssh-8.4p1/readconf.c
Lines 2809-2815 dump_cfg_forwards(OpCodes code, u_int co Link Here
2809
}
2809
}
2810
2810
2811
void
2811
void
2812
dump_client_config(Options *o, const char *host)
2812
dump_client_config(Options *o, const char *host, const char *host_arg)
2813
{
2813
{
2814
	int i, r;
2814
	int i, r;
2815
	char buf[8], *all_key;
2815
	char buf[8], *all_key;
Lines 2827-2832 dump_client_config(Options *o, const cha Link Here
2827
	free(all_key);
2827
	free(all_key);
2828
2828
2829
	/* Most interesting options first: user, host, port */
2829
	/* Most interesting options first: user, host, port */
2830
	printf("originalhostname %s\n", host_arg);
2830
	dump_cfg_string(oUser, o->user);
2831
	dump_cfg_string(oUser, o->user);
2831
	dump_cfg_string(oHostname, host);
2832
	dump_cfg_string(oHostname, host);
2832
	dump_cfg_int(oPort, o->port);
2833
	dump_cfg_int(oPort, o->port);
2833
-- openssh-8.4p1.orig/readconf.h
2834
++ openssh-8.4p1/readconf.h
Lines 221-227 int parse_jump(const char *, Options *, Link Here
221
int	 parse_ssh_uri(const char *, char **, char **, int *);
221
int	 parse_ssh_uri(const char *, char **, char **, int *);
222
int	 default_ssh_port(void);
222
int	 default_ssh_port(void);
223
int	 option_clear_or_none(const char *);
223
int	 option_clear_or_none(const char *);
224
void	 dump_client_config(Options *o, const char *host);
224
void	 dump_client_config(Options *o, const char *host, const char *host_arg);
225
225
226
void	 add_local_forward(Options *, const struct Forward *);
226
void	 add_local_forward(Options *, const struct Forward *);
227
void	 add_remote_forward(Options *, const struct Forward *);
227
void	 add_remote_forward(Options *, const struct Forward *);
228
-- openssh-8.4p1.orig/ssh.c
228
++ openssh-8.4p1/ssh.c
Lines 1498-1504 main(int ac, char **av) Link Here
1498
	}
1498
	}
1499
1499
1500
	if (config_test) {
1500
	if (config_test) {
1501
		dump_client_config(&options, host);
1501
		dump_client_config(&options, host, host_arg);
1502
		exit(0);
1502
		exit(0);
1503
	}
1503
	}
1504
1504

Return to bug 3343