vdjagilev / nmap-formatter

A tool that allows you to convert NMAP results to html, csv, json, markdown, graphviz (dot), sqlite, excel and d2-lang. Simply put it's nmap converter.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Use multiple addresses (ipv4/mac/ipv6?) for HostAddress

vdjagilev opened this issue · comments

Related to #105, change schema to allow multiple addresses:

type Host struct {
        // ...
-     HostAddress   HostAddress   `xml:"address"`
+     HostAddress   []HostAddress `xml:"address"`
        // ...
}

This is breaking change and requires changes in documentation examples (jq), markdown & html templates, library documentation examples.