summaryrefslogtreecommitdiff
path: root/proto/ospf/ospf.h
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>1999-06-01 16:35:18 +0000
committerOndrej Filip <feela@network.cz>1999-06-01 16:35:18 +0000
commitcd70d93470498c0b68a084be5aeab5dd45a0df60 (patch)
treeec9f4b8f8fac9442e71ee2cd367eff89c252c1b1 /proto/ospf/ospf.h
parentbd7f1081f24aa6ca4cdba004478742b730644a91 (diff)
Detecting of new neighbor added. It starts inactivity timer.
Diffstat (limited to 'proto/ospf/ospf.h')
-rw-r--r--proto/ospf/ospf.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/proto/ospf/ospf.h b/proto/ospf/ospf.h
index 19c9eeb1..164bed36 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 */