88f0c43ef6
- Security fix (http://www.atstake.com/research/advisories/2003/a080703-2.txt) - PPP interfaces supported
12 lines
453 B
Text
12 lines
453 B
Text
$NetBSD: patch-aa,v 1.3 2004/12/29 11:51:39 adrianp Exp $
|
|
|
|
--- src/datalink.c.orig 1999-04-21 10:40:13.000000000 +0900
|
|
+++ src/datalink.c 2004-08-20 16:02:02.000000000 +0900
|
|
@@ -64,7 +64,6 @@
|
|
#ifndef DLT_NULL_BROKEN
|
|
/* make sure this is AF_INET */
|
|
memcpy((char *)&family, (char *)p, sizeof(family));
|
|
- family = ntohl(family);
|
|
if (family != AF_INET) {
|
|
DEBUG(6) ("warning: received non-AF_INET null frame (type %d)", family);
|
|
return;
|