summaryrefslogtreecommitdiffstats
path: root/proto/ospf/ospf.h
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>2000-06-08 03:49:19 +0200
committerOndrej Filip <feela@network.cz>2000-06-08 03:49:19 +0200
commit423230f2f1080c6a4f6d05b6d7705cfaee500f48 (patch)
tree4eb4479aab98c983cb94854fbed70ce94fca4380 /proto/ospf/ospf.h
parent17e29574bcf0e03e3243a48e784b0248925cc5b4 (diff)
downloadbird-423230f2f1080c6a4f6d05b6d7705cfaee500f48.tar
bird-423230f2f1080c6a4f6d05b6d7705cfaee500f48.zip
Ehm, my (B)DR election was based on router id, but RFC says ip!
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 d22b617..8854d8d 100644
--- a/proto/ospf/ospf.h
+++ b/proto/ospf/ospf.h
@@ -154,8 +154,8 @@ struct ospf_hello_packet {
u8 options;
u8 priority;
u32 deadint;
- u32 dr;
- u32 bdr;
+ ip_addr dr;
+ ip_addr bdr;
};
struct immsb {
@@ -305,8 +305,8 @@ struct ospf_neighbor
ip_addr ip; /* IP of it's interface */
u8 priority; /* Priority */
u8 options; /* Options received */
- u32 dr; /* Neigbour's idea of DR */
- u32 bdr; /* Neigbour's idea of BDR */
+ ip_addr dr; /* Neigbour's idea of DR */
+ ip_addr bdr; /* Neigbour's idea of BDR */
u8 adj; /* built adjacency? */
siterator dbsi; /* Database summary list iterator */
slist lsrql; /* Link state request */