Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 May 2008 19:16:07 GMT
From:      Rui Paulo <rpaulo@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 141603 for review
Message-ID:  <200805141916.m4EJG7nL031061@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=141603

Change 141603 by rpaulo@rpaulo_epsilon on 2008/05/14 19:16:00

	* Include debug.h
	* Add missing }

Affected files ...

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

Differences ...

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

@@ -23,12 +23,13 @@
  * 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#3 $
+ * $P4: //depot/projects/soc2008/rpaulo-tcpad/linkhdr.c#4 $
  */
 
 #include <net/ethernet.h>
 #include <pcap.h>
 
+#include "debug.h"
 #include "linkhdr.h"
 
 struct linktypes {
@@ -66,6 +67,7 @@
 		if (linktypes[i].type == dlt) {
 			DPRINTF("hlen = %d\n", linktypes[i].skip);
 			return (linktypes[i].skip);
+		}
 	}
 
 	DPRINTF("dlt not found\n");



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200805141916.m4EJG7nL031061>