Commit Diff


commit - b3ef1874c36079d2d553f0f0ff29c020adda57a4
commit + 956b87649feaa87632c0dbbb7a3a8261c27288f5
blob - f275fff419cb80238e276ff4a0f2d76159ecb0ef
blob + df306ef7cdbb171166b7cc977fc67695a9f82c5e
--- commands.c
+++ commands.c
@@ -1990,7 +1990,7 @@ command()
 	Command  *c;
 	u_int num;
 
-	init_bgpd_socket_path(getrtable());
+	init_bgpd_socket_path(cli_rtable);
 
 	if (editing) {
 		inithist();
@@ -2957,7 +2957,7 @@ cmdrc(char rcname[FILENAME_MAX])
 	unsigned int lnum;	/* line number */
 	u_int	z = 0;		/* max length of cmdtab argument */
 
-	init_bgpd_socket_path(getrtable());
+	init_bgpd_socket_path(cli_rtable);
 
 	if ((rcfile = fopen(rcname, "r")) == 0) {
 		printf("%% Unable to open %s: %s\n", rcname, strerror(errno));