diff options
Diffstat (limited to 'proto/ospf/ospf.h')
-rw-r--r-- | proto/ospf/ospf.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/proto/ospf/ospf.h b/proto/ospf/ospf.h index b96ee91b..ac20e9b0 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_ */ |