summaryrefslogtreecommitdiffstats
path: root/src/main_dpdk.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main_dpdk.cpp')
-rwxr-xr-xsrc/main_dpdk.cpp31
1 files changed, 27 insertions, 4 deletions
diff --git a/src/main_dpdk.cpp b/src/main_dpdk.cpp
index 22ecc52f..a0258ef1 100755
--- a/src/main_dpdk.cpp
+++ b/src/main_dpdk.cpp
@@ -55,6 +55,7 @@ limitations under the License.
#include <common/arg/SimpleGlob.h>
#include <common/arg/SimpleOpt.h>
#include <common/basic_utils.h>
+#include <../linux_dpdk/version.h>
extern "C" {
#include <dpdk_lib18/librte_pmd_ixgbe/ixgbe/ixgbe_type.h>
@@ -637,9 +638,31 @@ static int usage(){
printf("\n");
printf("\n");
- printf(" Copyright (C) 2012 by hhaim Cisco-System POC for Israel dev-test \n");
- printf(" version : %s \n",VERSION);
-
+ printf(" Copyright (c) 2015-2015 Cisco Systems, Inc. \n");
+ printf(" \n");
+ printf(" Licensed under the Apache License, Version 2.0 (the 'License') \n");
+ printf(" you may not use this file except in compliance with the License. \n");
+ printf(" You may obtain a copy of the License at \n");
+ printf(" \n");
+ printf(" http://www.apache.org/licenses/LICENSE-2.0 \n");
+ printf(" \n");
+ printf(" Unless required by applicable law or agreed to in writing, software \n");
+ printf(" distributed under the License is distributed on an \"AS IS\" BASIS, \n");
+ printf(" WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. \n");
+ printf(" See the License for the specific language governing permissions and \n");
+ printf(" limitations under the License. \n");
+ printf(" \n");
+ printf(" Open Source Components / Libraries \n");
+ printf(" DPDK (BSD) \n");
+ printf(" YAML-CPP (BSD) \n");
+ printf(" \n");
+ printf(" Open Source Binaries \n");
+ printf(" ZMQ (LGPL v3plus) \n");
+ printf(" \n");
+ printf(" Version : %s \n",VERSION_BUILD_NUM);
+ printf(" User : %s \n",VERSION_USER);
+ printf(" Date : %s , %s \n",get_build_date(),get_build_time());
+ printf(" Uuid : %s \n",VERSION_UIID);
return (0);
}
@@ -4371,7 +4394,7 @@ int main_test(int argc , char * argv[]){
int ret;
unsigned lcore_id;
- printf("Starting T-Rex %s please wait ... \n",VERSION);
+ printf("Starting TRex %s please wait ... \n",VERSION);
CGlobalInfo::m_options.preview.clean();