diff options
Diffstat (limited to 'example/ipsec_api/odp_ipsec_api_run_live.sh')
-rwxr-xr-x | example/ipsec_api/odp_ipsec_api_run_live.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/example/ipsec_api/odp_ipsec_api_run_live.sh b/example/ipsec_api/odp_ipsec_api_run_live.sh index da8523485..9febf2868 100755 --- a/example/ipsec_api/odp_ipsec_api_run_live.sh +++ b/example/ipsec_api/odp_ipsec_api_run_live.sh @@ -33,8 +33,6 @@ PID=app_pid -e 192.168.222.2,192.168.111.2,3des,301,c966199f24d095f3990a320d749056401e82b26570320292 \ -c 2 "$@" & echo $! > $PID) | tee $LOG & -APP_PID=`cat $PID` - # Wait till application thread starts. APP_READY="Pktio thread \[..\] starts" @@ -48,6 +46,8 @@ tail -f $LOG | grep -qm 1 "$APP_READY" validate_result ret=$? +APP_PID=`cat $PID` + kill -2 ${APP_PID} # Wait till the application exits |