diff options
| author | Quentin Young <qlyoung@cumulusnetworks.com> | 2017-08-15 16:47:02 -0400 | 
|---|---|---|
| committer | Quentin Young <qlyoung@cumulusnetworks.com> | 2017-08-16 11:18:11 -0400 | 
| commit | 5ed0add5e401fce563860f6afb69fdb33d115860 (patch) | |
| tree | d62f26665562d43997194ec017929c70424a7aa5 /ospfd/ospf_interface.h | |
| parent | 0dac59e9433ab025671c9a867a22894084d25c76 (diff) | |
ospfd: remember area-id format for ifaces
Display dotted quad or decimal back in the config depending on what the
user enters.
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'ospfd/ospf_interface.h')
| -rw-r--r-- | ospfd/ospf_interface.h | 2 | 
1 files changed, 2 insertions, 0 deletions
diff --git a/ospfd/ospf_interface.h b/ospfd/ospf_interface.h index d4b495b20f..829a3f4297 100644 --- a/ospfd/ospf_interface.h +++ b/ospfd/ospf_interface.h @@ -66,6 +66,8 @@ struct ospf_if_params {  	DECLARE_IF_PARAM(u_char, priority); /* OSPF Interface priority */  	/* Enable OSPF on this interface with area if_area */  	DECLARE_IF_PARAM(struct in_addr, if_area); +	u_int32_t if_area_id_fmt; +  	DECLARE_IF_PARAM(u_char, type); /* type of interface */  #define OSPF_IF_ACTIVE                  0  #define OSPF_IF_PASSIVE		        1  | 
