summaryrefslogtreecommitdiffstats
path: root/proto/ospf/rt.h
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>2005-02-18 19:51:42 +0100
committerOndrej Filip <feela@network.cz>2005-02-18 19:51:42 +0100
commit60e04f041303fdafd0abf0dec003a9745345c68a (patch)
tree4d05e0042b8b2289e790b7750ddb22284ca8ad9b /proto/ospf/rt.h
parent27a1e3ac35bd3f6a9b5161eafb5b8178162a37f8 (diff)
downloadbird-60e04f041303fdafd0abf0dec003a9745345c68a.tar
bird-60e04f041303fdafd0abf0dec003a9745345c68a.zip
Minor bugfix: Summary LSA for aggregated area was always propagated with
metric = 1. Now it's metric of most distant component.
Diffstat (limited to 'proto/ospf/rt.h')
-rw-r--r--proto/ospf/rt.h4
1 files changed, 2 insertions, 2 deletions
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 */