Patch: V2 Do not use C99 style comments
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <
20181005131632.32515-1-arne@rfc2549.org>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg17565.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
rgi->gateway.addr = 127 << 24 | 'd' << 16 | 'g' << 8 | 'w';
rgi->flags |= RGI_ADDR_DEFINED;
strcpy(best_name, "android-gw");
+
+ /*
+ * Skip scanning/fetching interface from loopback interface
+ * It always fails and "ioctl(SIOCGIFCONF) failed" confuses users
+ */
+ goto done;
#endif /* ifndef TARGET_ANDROID */
/* scan adapter list */