From c32bed5041bf554cd1d677fe653c009c42c282dd Mon Sep 17 00:00:00 2001 From: Justin Reichardt Date: Sat, 26 Feb 2022 23:42:57 -0600 Subject: [PATCH] Added ipv6 to the hostfile Now routes all urls to 0.0.0.0 and :: --- src/rhosts.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/rhosts.go b/src/rhosts.go index f8fac95..aa2d7fc 100644 --- a/src/rhosts.go +++ b/src/rhosts.go @@ -438,6 +438,10 @@ func write2tmp(tmpdir string, siteBuff *[]siteList) (err error) { if err != nil { return err } + _, err = tmpf.WriteString(":: " + site.site + "\n") + if err != nil { + return err + } } } }