summaryrefslogtreecommitdiffstats
path: root/proto/ospf/ospf.h
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>1999-04-13 21:27:44 +0200
committerOndrej Filip <feela@network.cz>1999-04-13 21:27:44 +0200
commit55e7732a5a5fe47752eafe6024ba473bd7959e45 (patch)
treebb944e41c1ea3689ec17038e160833a5cb0e1f8e /proto/ospf/ospf.h
parentaec76c6e8e5702144522f0061bc102d26e10b97c (diff)
downloadbird-55e7732a5a5fe47752eafe6024ba473bd7959e45.tar
bird-55e7732a5a5fe47752eafe6024ba473bd7959e45.zip
Change in ospf_iface. (My bad understanding of lists manipulation.)
Diffstat (limited to 'proto/ospf/ospf.h')
-rw-r--r--proto/ospf/ospf.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/proto/ospf/ospf.h b/proto/ospf/ospf.h
index 2965d8e..b4809b7 100644
--- a/proto/ospf/ospf.h
+++ b/proto/ospf/ospf.h
@@ -26,9 +26,8 @@ struct ospf_config {
};
struct ospf_iface {
- node n;
+ struct iface i; /* Nest's iface */
list sk_list; /* List of active sockets */
- struct iface *iface; /* Nest's iface */
u32 area; /* OSPF Area */
u16 cost; /* Cost of iface */
int rxmtint; /* number of seconds between LSA retransmissions */
@@ -45,7 +44,7 @@ struct ospf_iface {
u32 drid;
ip_addr bdrip; /* Backup DR */
u32 bdrid;
- int type;
+ int type; /* OSPF view of type */
#define OSPF_IM_BROADCAST 0
#define OSPF_IM_NBMA 1
#define OSPF_IM_PTP 2