wok-next view ntop/stuff/patches/ntop_webInterface.patch @ rev 21121

Up libfilezilla, filezilla, wxhexeditor, libarchive, ntop, pugixml, rapidsvn, serf, xchm
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Jan 14 05:10:43 2019 +0200 (2019-01-14)
parents
children
line source
1 change osName to version as it prints out "ntop Version".
3 Upstream-Status: Pending
5 Signed-off-by: Yao Zhao <yao.zhao@windriver.com>
6 ---
7 diff --git a/webInterface.c b/webInterface.c
8 index 5622e69..8cb7a67 100644
9 --- a/webInterface.c
10 +++ b/webInterface.c
11 @@ -5816,7 +5816,7 @@ static void printNtopConfigInfoData(int textPrintFlag, UserPref *pref) {
12 printInfoSectionTitle(textPrintFlag, "Basic Information");
14 safe_snprintf(__FILE__, __LINE__, formatBuf, sizeof(formatBuf), "%s (%d bit)",
15 - osName, sizeof(long) == 8 ? 64 : 32);
16 + version, sizeof(long) == 8 ? 64 : 32);
17 printFeatureConfigInfo(textPrintFlag, "ntop Version", formatBuf);
19 #ifndef WIN32