PERFORCE change 141809 for review

Rui Paulo rpaulo at FreeBSD.org
Sun May 18 16:56:40 UTC 2008


http://perforce.freebsd.org/chv.cgi?CH=141809

Change 141809 by rpaulo at rpaulo_epsilon on 2008/05/18 16:56:07

	Fix DLT_NULL header length.

Affected files ...

.. //depot/projects/soc2008/rpaulo-tcpad/linkhdr.c#6 edit

Differences ...

==== //depot/projects/soc2008/rpaulo-tcpad/linkhdr.c#6 (text+ko) ====

@@ -23,7 +23,7 @@
  * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
  *
- * $P4: //depot/projects/soc2008/rpaulo-tcpad/linkhdr.c#5 $
+ * $P4: //depot/projects/soc2008/rpaulo-tcpad/linkhdr.c#6 $
  */
 
 #include <net/ethernet.h>
@@ -38,7 +38,7 @@
 };
 
 static struct linktypes linktypes[] = {
-    { DLT_NULL,		0 },
+    { DLT_NULL,		4 },
     { DLT_EN10MB,	ETHER_HDR_LEN },	/* from ethernet.h */
     { DLT_PPP,		4 },			/* XXX */
 


More information about the p4-projects mailing list