From 423230f2f1080c6a4f6d05b6d7705cfaee500f48 Mon Sep 17 00:00:00 2001 From: Ondrej Filip Date: Thu, 8 Jun 2000 01:49:19 +0000 Subject: Ehm, my (B)DR election was based on router id, but RFC says ip! --- 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 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 */ -- cgit v1.2.3