Stop complaining about failure to remove routes
We often get told a network has gone away after the interface is downed and the routes are auto-removed. Change the log to VDBUG so standard builds don't have the noise. bug:2856577 Change-Id: If12ec3ed3b646ff6ef89b3778d037cfc478c0d25
This commit is contained in:
@@ -1341,7 +1341,7 @@ private NetworkStateTracker makeWimaxStateTracker() {
|
|||||||
mNetd.removeRoute(ifaceName, r);
|
mNetd.removeRoute(ifaceName, r);
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
// never crash - catch them all
|
// never crash - catch them all
|
||||||
if (DBG) loge("Exception trying to remove a route: " + e);
|
if (VDBG) loge("Exception trying to remove a route: " + e);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
@@ -1353,7 +1353,7 @@ private NetworkStateTracker makeWimaxStateTracker() {
|
|||||||
mNetd.removeSecondaryRoute(ifaceName, r);
|
mNetd.removeSecondaryRoute(ifaceName, r);
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
// never crash - catch them all
|
// never crash - catch them all
|
||||||
if (DBG) loge("Exception trying to remove a route: " + e);
|
if (VDBG) loge("Exception trying to remove a route: " + e);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user