Commit ee7c0f16 authored by Lorenzo Colitti's avatar Lorenzo Colitti
Browse files

Use a UDP socket instead of a ping socket for ioctls.

The type of socket used for ioctls does not affect the success
of the calls themselves, so UDP is just as good as ping.
However, UDP makes this code more reusable, because on many
systems, ping sockets are restricted by default.

Test: all_tests.sh passes on android-4.9
Change-Id: I44a25af880659b364edbec72850d968b2ef17f11
parent 2f5df35a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment