diff options
Diffstat (limited to 'structs.go')
| -rw-r--r-- | structs.go | 12 |
1 files changed, 2 insertions, 10 deletions
@@ -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 |
