From 0fdbfbe613cd8bdddeadd93653a0265986020edf Mon Sep 17 00:00:00 2001 From: Jonathan Hui Date: Tue, 17 May 2022 15:51:56 -0700 Subject: [PATCH] [routing-manager] fix build and test failures (#7707) `RemoveExternalRoute` -> `UnpublishExternalRoute` --- src/core/border_router/routing_manager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/border_router/routing_manager.cpp b/src/core/border_router/routing_manager.cpp index 91b8a6d4a..0d99264c9 100644 --- a/src/core/border_router/routing_manager.cpp +++ b/src/core/border_router/routing_manager.cpp @@ -383,7 +383,7 @@ void RoutingManager::HandleNotifierEvents(Events aEvents) { if (mIsAdvertisingLocalOnLinkPrefix) { - RemoveExternalRoute(mLocalOnLinkPrefix); + UnpublishExternalRoute(mLocalOnLinkPrefix); // TODO: consider deprecating/invalidating existing // on-link prefix mIsAdvertisingLocalOnLinkPrefix = false;