+ /* We don't want to choose the loopback. */
+ if (addrbyte == 127) {
+ printlog(LOG_DEBUG, "get_local_ip: ignoring the loopback.\n");
+ continue;
+ }
+
+ printlog(LOG_DEBUG, "get_local_ip: found address starting with %hhu\n", addrbyte);
+
+ /* If there's a non-local address, use that. */
+ if ((addrbyte != 192) && (addrbyte != 172) && (addrbyte != 10)){