Make the port and proto attributes optional on the trace element in

nmap.dtd. With a protocol trace or an ICMP trace, there's no port
number.
This commit is contained in:
david 2009-09-28 20:19:30 +00:00
parent d0a1bd3001
commit 925d2a1693

View file

@ -289,8 +289,8 @@
<!ELEMENT trace (hop*, error?) >
<!ATTLIST trace
proto CDATA #REQUIRED
port CDATA #REQUIRED
proto CDATA #IMPLIED
port CDATA #IMPLIED
>
<!ELEMENT hop EMPTY>