mirror of
https://github.com/nmap/nmap.git
synced 2026-01-06 14:39:03 +00:00
Make osclass XML elements children of the osmatch element they belong to.
Add the --deprecated-xml-osclass to restore the old output.
This commit is contained in:
@@ -235,7 +235,7 @@
|
||||
output CDATA #REQUIRED
|
||||
>
|
||||
|
||||
<!ELEMENT os ( portused* , osclass*, osmatch*, osfingerprint* ) >
|
||||
<!ELEMENT os ( portused* , osmatch*, osfingerprint* ) >
|
||||
|
||||
<!ELEMENT portused EMPTY >
|
||||
<!ATTLIST portused
|
||||
@@ -253,7 +253,7 @@
|
||||
>
|
||||
|
||||
|
||||
<!ELEMENT osmatch EMPTY >
|
||||
<!ELEMENT osmatch (osclass*) >
|
||||
<!ATTLIST osmatch
|
||||
name CDATA #REQUIRED
|
||||
accuracy %attr_numeric; #REQUIRED
|
||||
|
||||
Reference in New Issue
Block a user