PERFORCE change 141603 for review

Rui Paulo rpaulo at FreeBSD.org
Wed May 14 19:16:08 UTC 2008


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

Change 141603 by rpaulo at 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");


More information about the p4-projects mailing list