From 55e7732a5a5fe47752eafe6024ba473bd7959e45 Mon Sep 17 00:00:00 2001 From: Ondrej Filip Date: Tue, 13 Apr 1999 19:27:44 +0000 Subject: Change in ospf_iface. (My bad understanding of lists manipulation.) --- proto/ospf/ospf.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'proto/ospf/ospf.h') 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 -- cgit v1.2.3