mirror of
				https://git.proxmox.com/git/mirror_frr
				synced 2025-11-04 10:07:04 +00:00 
			
		
		
		
	bgpd: fix silly format string SNAFU
Someone thought vty_out accepts a list of strings. It does not. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
This commit is contained in:
		
							parent
							
								
									e678b143a9
								
							
						
					
					
						commit
						0e4e879b40
					
				@ -12002,7 +12002,7 @@ static void bgp_show_neighbor_graceful_restart_remote_mode(struct vty *vty,
 | 
			
		||||
	if (json)
 | 
			
		||||
		json_object_string_add(json, "remoteGrMode", mode);
 | 
			
		||||
	else
 | 
			
		||||
		vty_out(vty, mode, "\n");
 | 
			
		||||
		vty_out(vty, "%s\n", mode);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
static void bgp_show_neighbor_graceful_restart_local_mode(struct vty *vty,
 | 
			
		||||
@ -12034,7 +12034,7 @@ static void bgp_show_neighbor_graceful_restart_local_mode(struct vty *vty,
 | 
			
		||||
	if (json)
 | 
			
		||||
		json_object_string_add(json, "localGrMode", mode);
 | 
			
		||||
	else
 | 
			
		||||
		vty_out(vty, mode, "\n");
 | 
			
		||||
		vty_out(vty, "%s\n", mode);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
static void bgp_show_neighbor_graceful_restart_capability_per_afi_safi(
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user