summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xsamples/pktgen/pktgen.conf-1-11
-rwxr-xr-xsamples/pktgen/pktgen.conf-1-1-flows1
-rwxr-xr-xsamples/pktgen/pktgen.conf-1-1-ip61
-rwxr-xr-xsamples/pktgen/pktgen.conf-1-1-ip6-rdos1
-rwxr-xr-xsamples/pktgen/pktgen.conf-1-1-rdos1
-rwxr-xr-xsamples/pktgen/pktgen.conf-1-21
-rwxr-xr-xsamples/pktgen/pktgen.conf-2-11
-rwxr-xr-xsamples/pktgen/pktgen.conf-2-21
8 files changed, 8 insertions, 0 deletions
diff --git a/samples/pktgen/pktgen.conf-1-1 b/samples/pktgen/pktgen.conf-1-1
index bb53983..fc1d15c 100755
--- a/samples/pktgen/pktgen.conf-1-1
+++ b/samples/pktgen/pktgen.conf-1-1
@@ -53,6 +53,7 @@ PGDEV=/proc/net/pktgen/eth1
PGDEV=/proc/net/pktgen/pgctrl
echo "Running... ctrl^C to stop"
+ trap true INT
pgset "start"
echo "Done"
diff --git a/samples/pktgen/pktgen.conf-1-1-flows b/samples/pktgen/pktgen.conf-1-1-flows
index db20ac8..e00d66c 100755
--- a/samples/pktgen/pktgen.conf-1-1-flows
+++ b/samples/pktgen/pktgen.conf-1-1-flows
@@ -61,6 +61,7 @@ PGDEV=/proc/net/pktgen/eth1
PGDEV=/proc/net/pktgen/pgctrl
echo "Running... ctrl^C to stop"
+ trap true INT
pgset "start"
echo "Done"
diff --git a/samples/pktgen/pktgen.conf-1-1-ip6 b/samples/pktgen/pktgen.conf-1-1-ip6
index e22199d..f161453 100755
--- a/samples/pktgen/pktgen.conf-1-1-ip6
+++ b/samples/pktgen/pktgen.conf-1-1-ip6
@@ -54,6 +54,7 @@ PGDEV=/proc/net/pktgen/eth1
PGDEV=/proc/net/pktgen/pgctrl
echo "Running... ctrl^C to stop"
+ trap true INT
pgset "start"
echo "Done"
diff --git a/samples/pktgen/pktgen.conf-1-1-ip6-rdos b/samples/pktgen/pktgen.conf-1-1-ip6-rdos
index 58dd052..06b5028 100755
--- a/samples/pktgen/pktgen.conf-1-1-ip6-rdos
+++ b/samples/pktgen/pktgen.conf-1-1-ip6-rdos
@@ -57,6 +57,7 @@ PGDEV=/proc/net/pktgen/eth1
PGDEV=/proc/net/pktgen/pgctrl
echo "Running... ctrl^C to stop"
+ trap true INT
pgset "start"
echo "Done"
diff --git a/samples/pktgen/pktgen.conf-1-1-rdos b/samples/pktgen/pktgen.conf-1-1-rdos
index 2834ac7..8f1ce1a 100755
--- a/samples/pktgen/pktgen.conf-1-1-rdos
+++ b/samples/pktgen/pktgen.conf-1-1-rdos
@@ -58,6 +58,7 @@ PGDEV=/proc/net/pktgen/eth1
PGDEV=/proc/net/pktgen/pgctrl
echo "Running... ctrl^C to stop"
+ trap true INT
pgset "start"
echo "Done"
diff --git a/samples/pktgen/pktgen.conf-1-2 b/samples/pktgen/pktgen.conf-1-2
index b519dab..f151e85 100755
--- a/samples/pktgen/pktgen.conf-1-2
+++ b/samples/pktgen/pktgen.conf-1-2
@@ -63,6 +63,7 @@ PGDEV=/proc/net/pktgen/eth2
PGDEV=/proc/net/pktgen/pgctrl
echo "Running... ctrl^C to stop"
+ trap true INT
pgset "start"
echo "Done"
diff --git a/samples/pktgen/pktgen.conf-2-1 b/samples/pktgen/pktgen.conf-2-1
index 6f57a558..e6b36b2 100755
--- a/samples/pktgen/pktgen.conf-2-1
+++ b/samples/pktgen/pktgen.conf-2-1
@@ -60,6 +60,7 @@ PGDEV=/proc/net/pktgen/eth1
PGDEV=/proc/net/pktgen/pgctrl
echo "Running... ctrl^C to stop"
+ trap true INT
pgset "start"
echo "Done"
diff --git a/samples/pktgen/pktgen.conf-2-2 b/samples/pktgen/pktgen.conf-2-2
index aa32252..6484435 100755
--- a/samples/pktgen/pktgen.conf-2-2
+++ b/samples/pktgen/pktgen.conf-2-2
@@ -67,6 +67,7 @@ PGDEV=/proc/net/pktgen/eth2
PGDEV=/proc/net/pktgen/pgctrl
echo "Running... ctrl^C to stop"
+ trap true INT
pgset "start"
echo "Done"
OpenPOWER on IntegriCloud