termux-packages/packages/net-tools/lib-inet.c.patch

19 lines
357 B
Diff

--- ./lib/inet.c 2017-02-21 23:54:32.000000000 +0530
+++ ../inet.c 2017-04-09 14:43:19.639365853 +0530
@@ -414,6 +414,7 @@
}
}
endservent();
+#if 0
setprotoent(1);
while ((pe = getprotoent())) {
/* Allocate a service entry. */
@@ -423,6 +424,7 @@
add2list(&raw_name, item);
}
endprotoent();
+#endif
return (0);
}