Don't reset a VPN's NetId in the connect() shim.
Change-Id: I0cc6c0e221a40c9100c8f4c0c5e761fce3f9b0ae
diff --git a/server/NetworkController.h b/server/NetworkController.h
index f0a5ea7..479af5e 100644
--- a/server/NetworkController.h
+++ b/server/NetworkController.h
@@ -51,6 +51,7 @@
// requests to VPNs without DNS servers.
unsigned getNetworkForUser(uid_t uid, unsigned requestedNetId, bool forDns) const;
unsigned getNetworkForInterface(const char* interface) const;
+ bool isVirtualNetwork(unsigned netId) const;
// TODO: Remove this hack.
unsigned getNetIdForLocalNetwork() const;