2002-10-16 11:19:16

by Sebastian Krause

[permalink] [raw]
Subject: [PATCH] Fix path in Documentation/networking/pktgen.txt (2.4.20-pre11)

Correct me if I'm wrong, but it seems that the path to pktgen's
proc-directory is wrong in the Documentation, because the directory
is /proc/net/pktgen/, not /proc/net/pg/. This little patch should fix
it:

--- Documentation/networking/pktgen.txt.orig Wed Oct 16 13:00:22 2002
+++ Documentation/networking/pktgen.txt Wed Oct 16 13:02:32 2002
@@ -6,7 +6,7 @@
3. Edit script to set preferred device and destination IP address.
3a. Create more scripts for different interfaces. Up to thirty-two
pktgen processes can be configured and run at once by using the
- 32 /proc/net/pg* files.
+ 32 /proc/net/pktgen/pg* files.
4. Run in shell: ". ipg"
5. After this two commands are defined:
A. "pg" to start generator and to get results.
@@ -52,7 +52,7 @@

modprobe pktgen

-PGDEV=/proc/net/pg/pg0
+PGDEV=/proc/net/pktgen/pg0

function pgset() {
local result