diff --git a/bgpsim/src/builder.rs b/bgpsim/src/builder.rs index 7633071..cdb6189 100644 --- a/bgpsim/src/builder.rs +++ b/bgpsim/src/builder.rs @@ -819,7 +819,7 @@ impl, Ospf: OspfImpl> NetworkBuilder // build a local LUT let lut: HashMap = self .external_indices() - .map(|ext| (ext, peer_type(ext, &self, &mut rng, a.clone()))) + .map(|ext| (ext, peer_type(ext, self, &mut rng, a.clone()))) .collect(); _build_gao_rexford(self, lut)