From cd70d93470498c0b68a084be5aeab5dd45a0df60 Mon Sep 17 00:00:00 2001 From: Ondrej Filip Date: Tue, 1 Jun 1999 16:35:18 +0000 Subject: Detecting of new neighbor added. It starts inactivity timer. --- proto/ospf/ospf.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'proto/ospf/ospf.h') diff --git a/proto/ospf/ospf.h b/proto/ospf/ospf.h index 19c9eeb..164bed3 100644 --- a/proto/ospf/ospf.h +++ b/proto/ospf/ospf.h @@ -113,9 +113,9 @@ struct ospf_neighbor struct ospf_iface *ifa; int state; #define NEIGHBOR_DOWN 0 -#define NEIGHBOR_INIT 1 -#define NEIGHBOR_2WAY 2 -#define NEIGHBOR_ATTEMPT 3 +#define NEIGHBOR_ATTEMPT 1 +#define NEIGHBOR_INIT 2 +#define NEIGHBOR_2WAY 3 #define NEIGHBOR_EXSTART 4 #define NEIGHBOR_EXCHANGE 5 #define NEIGHBOR_LOADING 6 @@ -125,7 +125,7 @@ struct ospf_neighbor u32 dds; /* DD Sequence number being sentg */ u32 ddr; /* last Dat Des packet */ u32 rid; /* Router ID */ - byte pri; /* Priority */ + byte priority; /* Priority */ byte options; /* Options */ u32 dr; /* Neigbour's idea of DR */ u32 bdr; /* Neigbour's idea of BDR */ -- cgit v1.2.3