Skip to content

Commit f6a72df

Browse files
committed
convert ipv4-mapped nexthops to ipv4
1 parent 622daf4 commit f6a72df

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/api.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,7 @@ async fn query<T: Store>(
256256
))));
257257

258258
if let Some(nexthop) = route.attrs.nexthop {
259+
let nexthop = nexthop.to_canonical();
259260
if have_resolved.insert(nexthop) {
260261
let resolver = resolver.clone();
261262
futures.push(Box::pin(async move {

0 commit comments

Comments
 (0)