Skip to content

Commit 90d09af

Browse files
committed
.
1 parent e733b6f commit 90d09af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/store.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@ pub trait Store: Clone + Send + Sync + 'static {
364364
rd = session.route_distinguisher
365365
}
366366
let mut attrs = attrs.clone();
367-
attrs.nexthop = nexthop;
367+
attrs.nexthop = nexthop.map(|nh| nh.to_canonical());
368368
self.update_route(
369369
path,
370370
prefix,

0 commit comments

Comments
 (0)