aboutsummaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-support/ntop/ntop/ntop_webInterface.patch
blob: 9f57ca42550183e7ace9073cf868744f0e5eb238 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
change osName to version as it prints out "ntop Version".

Upstream-Status: Pending

Signed-off-by: Yao Zhao <yao.zhao@windriver.com>
---
diff --git a/webInterface.c b/webInterface.c
index 5622e69..8cb7a67 100644
--- a/webInterface.c
+++ b/webInterface.c
@@ -5816,7 +5816,7 @@ static void printNtopConfigInfoData(int textPrintFlag, UserPref *pref) {
   printInfoSectionTitle(textPrintFlag, "Basic Information");
 
   safe_snprintf(__FILE__, __LINE__, formatBuf, sizeof(formatBuf), "%s (%d bit)",
-		osName, sizeof(long) == 8 ? 64 : 32);
+		version, sizeof(long) == 8 ? 64 : 32);
   printFeatureConfigInfo(textPrintFlag, "ntop Version", formatBuf);
 
 #ifndef WIN32