From 60e04f041303fdafd0abf0dec003a9745345c68a Mon Sep 17 00:00:00 2001 From: Ondrej Filip Date: Fri, 18 Feb 2005 18:51:42 +0000 Subject: Minor bugfix: Summary LSA for aggregated area was always propagated with metric = 1. Now it's metric of most distant component. --- proto/ospf/rt.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'proto/ospf/rt.h') diff --git a/proto/ospf/rt.h b/proto/ospf/rt.h index ea2f28f..acb0a1a 100644 --- a/proto/ospf/rt.h +++ b/proto/ospf/rt.h @@ -21,8 +21,8 @@ typedef struct orta #define ORTA_ASBR 1 #define ORTA_ABR 2 struct ospf_area *oa; - int metric1; - int metric2; + u32 metric1; + u32 metric2; ip_addr nh; /* Next hop */ struct ospf_iface *ifa; /* Outgoing interface */ struct top_hash_entry *ar; /* Advertising router */ -- cgit v1.2.3