summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorHanoh Haim <hhaim@cisco.com>2015-07-06 18:23:43 +0300
committerHanoh Haim <hhaim@cisco.com>2015-07-06 18:23:43 +0300
commit52ada6a50262b441f1c65d3159b255ca26a53c14 (patch)
treec30da09462d7e4b1a3aa64e500a711d7f02f7b7a /src
parenta6ad28529f021849cc10f44077c3c10f89a13dba (diff)
update build scripts
Diffstat (limited to 'src')
-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();