diff options
| author | Olivier Dugeon <olivier.dugeon@orange.com> | 2018-01-23 12:19:50 +0100 | 
|---|---|---|
| committer | Olivier Dugeon <olivier.dugeon@orange.com> | 2018-01-23 12:19:50 +0100 | 
| commit | 93f0a26e1976c07434364dc630993f80c9629396 (patch) | |
| tree | 8651f38ab611e52a691c758998a630d61d8eaf80 /ospfd/ospf_ri.h | |
| parent | 7726c479644269fc573dd6aad72ea9c163599fd6 (diff) | |
OSPFD: Set Segment Routing patch conform to C99
 - Change all u_intXX_t typedef to standard type uintXX_t
 - Correct removal of ZEBRA_OSPF_SR route in ospf_sr.c line 670
Signed-off-by: Olivier Dugeon <olivier.dugeon@orange.com>
Diffstat (limited to 'ospfd/ospf_ri.h')
| -rw-r--r-- | ospfd/ospf_ri.h | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/ospfd/ospf_ri.h b/ospfd/ospf_ri.h index 3fb83141b5..7f3a5a2226 100644 --- a/ospfd/ospf_ri.h +++ b/ospfd/ospf_ri.h @@ -169,7 +169,7 @@ struct ri_pce_subtlv_cap_flag {  /* Structure to share flooding scope info for Segment Routing */  struct scope_info { -	u_int8_t scope; +	uint8_t scope;  	struct in_addr area_id;  }; @@ -177,6 +177,6 @@ struct scope_info {  extern int ospf_router_info_init(void);  extern void ospf_router_info_term(void);  extern int ospf_router_info_enable(void); -extern void ospf_router_info_update_sr(bool, struct sr_srgb, u_int8_t); +extern void ospf_router_info_update_sr(bool, struct sr_srgb, uint8_t);  extern struct scope_info ospf_router_info_get_flooding_scope(void);  #endif /* _ZEBRA_OSPF_ROUTER_INFO_H */  | 
