diff --git a/nmap.go b/nmap.go index 57b4430..b32b0d0 100644 --- a/nmap.go +++ b/nmap.go @@ -255,7 +255,7 @@ type PortUsed struct { // OsClass contains vendor information for an Os. type OsClass struct { Vendor string `xml:"vendor,attr" json:"vendor"` - OsGen string `xml"osgen,attr"` + OsGen string `xml:"osgen,attr" json:"osgen"` Type string `xml:"type,attr" json:"type"` Accuracy string `xml:"accurancy,attr" json:"accurancy"` OsFamily string `xml:"osfamily,attr" json:"osfamily"`