summaryrefslogtreecommitdiffstats
path: root/ospfd/ospf_interface.h
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@cumulusnetworks.com>2017-05-19 20:38:02 +0200
committerQuentin Young <qlyoung@cumulusnetworks.com>2017-05-19 20:40:18 +0200
commit86573dcbbe253d618c100bd94c1acf20348b7afa (patch)
tree39033359a14413975fa90c4f9b1e8274d3e9c0ce /ospfd/ospf_interface.h
parentpimd: Fix indentation issue that is causing clang unhappiness (diff)
downloadfrr-86573dcbbe253d618c100bd94c1acf20348b7afa.tar.xz
frr-86573dcbbe253d618c100bd94c1acf20348b7afa.zip
ospfd: remember format for ospf area id
If the user enters a decimal, display a decimal. If the user enters a dotted quad, display a dotted quad. Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'ospfd/ospf_interface.h')
-rw-r--r--ospfd/ospf_interface.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/ospfd/ospf_interface.h b/ospfd/ospf_interface.h
index 39202f777..c5e659492 100644
--- a/ospfd/ospf_interface.h
+++ b/ospfd/ospf_interface.h
@@ -104,12 +104,12 @@ struct ospf_interface;
struct ospf_vl_data
{
- struct in_addr vl_peer; /* Router-ID of the peer for VLs. */
- struct in_addr vl_area_id; /* Transit area for this VL. */
- int format; /* area ID format */
- struct ospf_interface *vl_oi; /* Interface data structure for the VL. */
- struct vertex_nexthop nexthop; /* Nexthop router and oi to use */
- struct in_addr peer_addr; /* Address used to reach the peer. */
+ struct in_addr vl_peer; /* Router-ID of the peer */
+ struct in_addr vl_area_id; /* Transit area */
+ int vl_area_id_fmt; /* Area ID format */
+ struct ospf_interface *vl_oi; /* Interface data structure */
+ struct vertex_nexthop nexthop; /* Nexthop router and oi to use */
+ struct in_addr peer_addr; /* Address used to reach the peer */
u_char flags;
};