Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2473a4ba authored by Robert Greenwalt's avatar Robert Greenwalt
Browse files

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
parent 7f97e54a
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1341,7 +1341,7 @@ private NetworkStateTracker makeWimaxStateTracker() {
                        mNetd.removeRoute(ifaceName, r);
                    } catch (Exception e) {
                        // 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;
                    }
                } else {
@@ -1353,7 +1353,7 @@ private NetworkStateTracker makeWimaxStateTracker() {
                    mNetd.removeSecondaryRoute(ifaceName, r);
                } catch (Exception e) {
                    // 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;
                }
            }