From f7103dfcfe174d39c8aa10eb100550e3ec213981 Mon Sep 17 00:00:00 2001 From: Ondrej Filip Date: Tue, 11 May 1999 09:50:02 +0000 Subject: Better logging output. Added 'struct proto *' info 'struct ospf iface'. --- proto/ospf/ospf.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'proto/ospf/ospf.h') diff --git a/proto/ospf/ospf.h b/proto/ospf/ospf.h index b96ee91..ac20e9b 100644 --- a/proto/ospf/ospf.h +++ b/proto/ospf/ospf.h @@ -17,6 +17,10 @@ #error Multicast address not defined in IPv6 #endif +struct proto_ospf { + struct proto proto; + list iface_list; /* Interfaces we really use */ +}; struct ospf_config { struct proto_config c; @@ -26,6 +30,7 @@ struct ospf_config { struct ospf_iface { node n; + struct proto_ospf *proto; struct iface *iface; /* Nest's iface */ list sk_list; /* List of active sockets */ u32 area; /* OSPF Area */ @@ -63,7 +68,7 @@ struct ospf_iface { #define PRIORITY_D 1 #define HELLOINT_D 10 #define DEADINT_D 4 -#define WAIT_D 40 /* Value of Wait timer - I didn't found it in RFC */ +#define WAIT_D 20 /* Value of Wait timer - I didn't found it in RFC */ }; @@ -79,9 +84,4 @@ struct ospf_patt { byte mode; }; -struct proto_ospf { - struct proto proto; - list iface_list; /* Interfaces we really use */ -}; - #endif /* _BIRD_OSPF_H_ */ -- cgit v1.2.3