mirror of
				https://codeberg.org/1414codeforge/ubgpsuite.git
				synced 2025-06-05 21:29:11 +02:00 
			
		
		
		
	[bgpgrep/bgpgrep_vmfunc] Make -loops check for appropriate BGP message type
This commit is contained in:
		@@ -174,6 +174,10 @@ void BgpgrepF_FindAsLoops(Bgpvm *vm)
 | 
			
		||||
	Asntree t;
 | 
			
		||||
	Asn     asn;
 | 
			
		||||
 | 
			
		||||
	const Bgphdr *hdr = BGP_HDR(vm->msg);
 | 
			
		||||
	if (hdr->type != BGP_UPDATE)
 | 
			
		||||
		goto nomatch;
 | 
			
		||||
 | 
			
		||||
	Sint32  pos = 0;
 | 
			
		||||
	Boolean foundLoop = FALSE;
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user