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

Commit b6589dc1 authored by Treehugger Robot's avatar Treehugger Robot
Browse files

Merge "Catch correct exception for adding route fail" am: c2050ac7 am: 55c0f416

Change-Id: Idd25323e01d87b81fd1021bcd0ea29a2468eedaa
parents 3b9e7d95 55c0f416
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -756,7 +756,7 @@ public class IpServer extends StateMachine {
                final IpPrefix ipv4Prefix = new IpPrefix(mIpv4Address.getAddress(),
                        mIpv4Address.getPrefixLength());
                NetdUtils.tetherInterface(mNetd, mIfaceName, ipv4Prefix);
            } catch (RemoteException | ServiceSpecificException e) {
            } catch (RemoteException | ServiceSpecificException | IllegalStateException e) {
                mLog.e("Error Tethering: " + e);
                mLastError = TetheringManager.TETHER_ERROR_TETHER_IFACE_ERROR;
                return;