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

Commit 3912479d authored by Vinit Deshpande's avatar Vinit Deshpande
Browse files

am "Append forwarder name to ipfwd command"

merged from goog/mirror-m-wireless-internal-release
f3d4a585 Append forwarder name to ipfwd command
parents 9e535b86 f3d4a585
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1167,7 +1167,7 @@ public class NetworkManagementService extends INetworkManagementService.Stub
    public void setIpForwardingEnabled(boolean enable) {
        mContext.enforceCallingOrSelfPermission(CONNECTIVITY_INTERNAL, TAG);
        try {
            mConnector.execute("ipfwd", enable ? "enable" : "disable");
            mConnector.execute("ipfwd", enable ? "enable" : "disable", "tethering");
        } catch (NativeDaemonConnectorException e) {
            throw e.rethrowAsParcelableException();
        }