path: root/doc/README.tapping
diff options
authorJaap Keuter <jaap.keuter@xs4all.nl>2010-04-12 16:06:52 +0000
committerJaap Keuter <jaap.keuter@xs4all.nl>2010-04-12 16:06:52 +0000
commitf329cd5beca8493204a8a57c304a5cf6f92d84f5 (patch)
tree6f9fa49ca3e69218ada8965463f9f21dbe857da1 /doc/README.tapping
parentbe36d742b619939a4195e6f97b86844d831e012f (diff)
Add remark about including packet.h before tap.h
svn path=/trunk/; revision=32448
Diffstat (limited to 'doc/README.tapping')
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/README.tapping b/doc/README.tapping
index 1dc4da0785..8546e5919a 100644
--- a/doc/README.tapping
+++ b/doc/README.tapping
@@ -35,7 +35,8 @@ If not, then you have to add a tap but don't worry, this is extremely easy to
do and is done in four easy steps;
(see packet-rpc.c and search for tap for an example)
-1, We need tap.h so just add '#include "tap.h"' to the includes.
+1, We need tap.h so just add '#include "tap.h"' (preceded by packet.h) to
+the includes.
2, We need a tap handler so just add 'static int <protocol>_tap = -1;'