commit | d1bccf35346004b9afd9da4236ff039222aec8fa | [log] [tgz] |
---|---|---|
author | Sreeram Ramachandran <sreeram@google.com> | Tue Jul 15 16:20:28 2014 -0700 |
committer | The Android Automerger <android-build@google.com> | Tue Jul 22 14:26:24 2014 -0700 |
tree | eeafaad1905e7c55db35720ed79bc86e7ba62630 | |
parent | 070b2d296de30e3dbc68c21f542acb1f2914d870 [diff] |
Fix WiFi-Direct and Tethering. A LocalNetwork object now always exists in the NetworkController, with a fixed NetId that's guaranteed not to collide with NetIds created by the framework. When routes are added on an interface tracked by the LocalNetwork, they are added to a fixed "local_network" table. When NAT is enabled, we add a special "iif -> oif" tethering rule. Bug: 15413694 Bug: 15413741 Change-Id: I36effc438d5ac193a77174493bf196cb68a5b97a