summaryrefslogtreecommitdiff
path: root/structs.go
diff options
context:
space:
mode:
Diffstat (limited to 'structs.go')
-rw-r--r--structs.go12
1 files changed, 2 insertions, 10 deletions
diff --git a/structs.go b/structs.go
index 4a1f8b8..94e0e8b 100644
--- a/structs.go
+++ b/structs.go
@@ -9,8 +9,6 @@ import (
"go.wit.com/lib/gadgets"
"go.wit.com/lib/gui/linuxstatus"
-
- "github.com/miekg/dns"
)
// It's probably a terrible idea to call this 'me'
@@ -42,14 +40,8 @@ type Host struct {
changed bool // set to true if things changed
- ipmap map[string]*IPtype // the current ip addresses
- dnsmap map[string]*IPtype // the current dns addresses
- ifmap map[int]*IFtype // the current interfaces
- nsmap map[string]string // the NS records
-
- // DNS A and AAAA results
- ipv4s map[string]dns.RR
- ipv6s map[string]dns.RR
+ ifmap map[int]*IFtype // the current interfaces
+ nsmap map[string]string // the NS records
// DNS stuff
DnsStatus *gui.Node // the current state of DNS