diff options
| author | manojboopathi <manojboopathi@google.com> | 2017-12-14 10:51:57 -0800 |
|---|---|---|
| committer | manojboopathi <manojboopathi@google.com> | 2018-01-02 13:34:48 -0800 |
| commit | 26f42921c0fdf7a20d91cc6c667cbcd7c4411f1e (patch) | |
| tree | 2ed48f9bc3b48f2be4673bd8fd6e8bb91caa5e66 /server/NetworkController.cpp | |
| parent | 560f0d4eaa48382bdda5f3443f442d788435e7a7 (diff) | |
Relax the IP Family check in XfrmController
To enable dual sockets, the family check in xfrmcontroller
is very strict. This has been relaxed so that IP V6 sockets
do not throw "Mismatched Address family" exception if V4 address
is used.
Also added Unit test to verify the same.
Bug: 70160694
Test: Ran runtest -x system/netd/server/netd_unit_test.cpp
Change-Id: Ib1bba21037ec1de3858c595fa32fee5e833d18bf
Diffstat (limited to 'server/NetworkController.cpp')
0 files changed, 0 insertions, 0 deletions
