summaryrefslogtreecommitdiff
path: root/digStatus.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-01-07 10:38:17 -0600
committerJeff Carr <[email protected]>2024-01-07 10:38:17 -0600
commitef6eb7a96aa4aee7c16ba5e7320bde4ffd79acc0 (patch)
treebba27c349418d5d799d86fdbadcf275327e08c26 /digStatus.go
parent259b4bdb408fd234cf1c76f94463a85d87fdadb6 (diff)
error window v0.1
error box starts doing something start a window for errors to fix more status cleanups & housecleaning Signed-off-by: Jeff Carr <[email protected]> Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'digStatus.go')
-rw-r--r--digStatus.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/digStatus.go b/digStatus.go
index af72227..fd775af 100644
--- a/digStatus.go
+++ b/digStatus.go
@@ -16,7 +16,6 @@ import (
"os"
"fmt"
"time"
- "strings"
"reflect"
"errors"
@@ -153,6 +152,7 @@ func (ds *digStatus) setIPv6status(s string) {
me.digStatus.set(ds.statusAAAA, s)
}
+/*
func (ds *digStatus) SetIPv6(s string) {
if ! ds.Ready() {return}
log.Warn("Should SetIPv6() here to", s)
@@ -162,6 +162,7 @@ func (ds *digStatus) SetIPv6(s string) {
me.DnsAAAA.Set(s)
// me.digStatus.set(ds.httpGoWitCom, addr)
}
+*/
func (ds *digStatus) set(a any, s string) {
if ! ds.Ready() {return}
@@ -301,7 +302,7 @@ func (ds *digStatus) checkLookupDoH(hostname string) bool {
s = append(s, addr)
status = true
}
- me.digStatus.SetIPv6(strings.Join(s, "\n"))
+ // me.digStatus.SetIPv6(strings.Join(s, "\n"))
return status
}