[PATCH] Fix path in Documentation/networking/pktgen.txt

Sebastian D.B. Krause (krause@sdbk.de)
Wed, 16 Oct 2002 13:23:15 +0200


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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/