mirror of
				https://git.proxmox.com/git/mirror_frr
				synced 2025-10-31 16:56:31 +00:00 
			
		
		
		
	
						commit
						6ac12ea313
					
				| @ -83,7 +83,7 @@ static void display_vrf_import_rt(struct vty *vty, | ||||
| 	case ECOMMUNITY_ENCODE_AS: | ||||
| 		eas.as = (*pnt++ << 8); | ||||
| 		eas.as |= (*pnt++); | ||||
| 		pnt = ptr_get_be32(pnt, &eas.val); | ||||
| 		ptr_get_be32(pnt, &eas.val); | ||||
| 
 | ||||
| 		snprintf(rt_buf, RT_ADDRSTRLEN, "%u:%u", eas.as, eas.val); | ||||
| 
 | ||||
| @ -195,7 +195,7 @@ static void display_import_rt(struct vty *vty, struct irt_node *irt, | ||||
| 	case ECOMMUNITY_ENCODE_AS: | ||||
| 		eas.as = (*pnt++ << 8); | ||||
| 		eas.as |= (*pnt++); | ||||
| 		pnt = ptr_get_be32(pnt, &eas.val); | ||||
| 		ptr_get_be32(pnt, &eas.val); | ||||
| 
 | ||||
| 		snprintf(rt_buf, RT_ADDRSTRLEN, "%u:%u", eas.as, eas.val); | ||||
| 
 | ||||
|  | ||||
| @ -1168,7 +1168,6 @@ void isis_circuit_af_set(struct isis_circuit *circuit, bool ip_router, | ||||
| 	struct isis_area *area = circuit->area; | ||||
| 	bool change = circuit->ip_router != ip_router | ||||
| 		      || circuit->ipv6_router != ipv6_router; | ||||
| 	bool was_enabled = !!circuit->area; | ||||
| 
 | ||||
| 	area->ip_circuits += ip_router - circuit->ip_router; | ||||
| 	area->ipv6_circuits += ipv6_router - circuit->ipv6_router; | ||||
| @ -1182,8 +1181,6 @@ void isis_circuit_af_set(struct isis_circuit *circuit, bool ip_router, | ||||
| 
 | ||||
| 	if (!ip_router && !ipv6_router) | ||||
| 		isis_csm_state_change(ISIS_DISABLE, circuit, area); | ||||
| 	else if (!was_enabled) | ||||
| 		isis_csm_state_change(ISIS_ENABLE, circuit, area); | ||||
| 	else | ||||
| 		lsp_regenerate_schedule(circuit->area, circuit->is_type, 0); | ||||
| } | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Rafael Zalamena
						Rafael Zalamena