From 13abd4df8abf88038f6264c460bf8db2fba9128b Mon Sep 17 00:00:00 2001 From: david Date: Wed, 17 Apr 2013 22:48:31 +0000 Subject: [PATCH] Restore empty rpc_info field to gnmap port output from r29619. Patch by Daniel Miller. --- CHANGELOG | 3 +++ output.cc | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGELOG b/CHANGELOG index 4fc03d6f8..7be2ed5f0 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,5 +1,8 @@ # Nmap Changelog ($Id$); -*-text-*- +o Fixed a regression that changed the number of delimiters in machine + output. [Daniel Miller] + o [Zenmap] Updated the Italian translation. [Giacomo] o Handle ICMP type 11 (Time Exceeded) responses to port scan probes. diff --git a/output.cc b/output.cc index 37a4ccc3d..57930d21f 100644 --- a/output.cc +++ b/output.cc @@ -760,7 +760,7 @@ void printportoutput(Target *currenths, PortList *plist) { p++; } } - log_write(LOG_MACHINE, "%d/%s/%s//%s/%s/", current->portno, + log_write(LOG_MACHINE, "%d/%s/%s//%s//%s/", current->portno, state, protocol, serviceinfo, grepvers); xml_open_start_tag("port");