MEDIUM: log: replace sendto() with sendmsg() in __send_log()
This patch replaces sendto() with sendmsg() in __send_log() and makes use
of an iovec to send the log message.
diff --git a/tests/test-log.cfg b/tests/test-log.cfg
index a8d971c..ce91603 100644
--- a/tests/test-log.cfg
+++ b/tests/test-log.cfg
@@ -1,7 +1,7 @@
# This is a test configuration.
# Its purpose is simply to emit logs on the loopback in order to verify
# that the time is correct. To be used with tcpdump on lo, or with
-# "strace -s100 -esendto".
+# "strace -s100 -esendmsg".
global
log 127.0.0.1:514 local0