This repository has been archived on 2021-01-26. You can view files and clone it, but cannot push or open issues or pull requests.
gentoo-overlay/sys-block/mbuffer/files/mbuffer-20171011-resolv-mul...

15 lines
477 B
Diff

work around "multi off" in /etc/host.conf and "::1 localhost"
*not* being the *first* "localhost" entry in /etc/hosts
--- a/Makefile.in
+++ b/Makefile.in
@@ -86,7 +86,7 @@ test2: test.md5
./mbuffer --pid -q -4 -I :7001 -o $@.tar -o - | openssl md5 > $@.md5 & \
sleep 1; \
rm -f $@.tar; \
- ./mbuffer --pid -i test.tar -o /dev/null -4 -O localhost:7001 -H; \
+ ./mbuffer --pid -i test.tar -o /dev/null -4 -O 127.0.0.1:7001 -H; \
wait
sync
diff $@.md5 test.md5