aboutsummaryrefslogtreecommitdiffstats
path: root/packet-isis-lsp.c
diff options
context:
space:
mode:
authorGilbert Ramirez <gram@alumni.rice.edu>2000-01-15 00:23:13 +0000
committerGilbert Ramirez <gram@alumni.rice.edu>2000-01-15 00:23:13 +0000
commit339d67b043a1f1ac860b84ed48ec6ba77d96f487 (patch)
tree0ab0f799055b6e6bb48ddc02d21fa608874b4ee4 /packet-isis-lsp.c
parentdbf3bf6177946f2e21efdb7a64ec32c8ee02eb74 (diff)
downloadwireshark-339d67b043a1f1ac860b84ed48ec6ba77d96f487.tar.gz
wireshark-339d67b043a1f1ac860b84ed48ec6ba77d96f487.tar.bz2
wireshark-339d67b043a1f1ac860b84ed48ec6ba77d96f487.zip
Merge in the final code to make Ethereal run on Win32, compiled
with MSVC 6.0 and 'nmake', the make tool that comes with MSVC. It compiles, links, and runs. It doesn't run correctly. There's a problem when reading files. I'm getting short reads. I'm not linking in zlib or libsnmp because it first needs to be debugged. I changed the plugin code to use gmodule instead of libltdl, but the Unix build still links ethereal against libltdl. I'll fix that tonight; sorry about leaving it in such a sad state, but I wanted to check in this code before I left work on a Friday night. Ethereal still works, but the building is less than optimal. svn path=/trunk/; revision=1479
Diffstat (limited to 'packet-isis-lsp.c')
-rw-r--r--packet-isis-lsp.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/packet-isis-lsp.c b/packet-isis-lsp.c
index aa9352694c..b2c3c916f0 100644
--- a/packet-isis-lsp.c
+++ b/packet-isis-lsp.c
@@ -1,7 +1,7 @@
/* packet-isis-lsp.c
* Routines for decoding isis lsp packets and their CLVs
*
- * $Id: packet-isis-lsp.c,v 1.1 1999/12/15 04:34:18 guy Exp $
+ * $Id: packet-isis-lsp.c,v 1.2 2000/01/15 00:22:32 gram Exp $
* Stuart Stanley <stuarts@mxmail.net>
*
* Ethereal - Network traffic analyzer
@@ -37,12 +37,16 @@
#include <stdio.h>
#include <string.h>
#include <glib.h>
-#include <netinet/in.h>
+
+#ifdef HAVE_NET_INET_H
+#include <net/inet.h>
+#endif
+
#include "packet.h"
-#include "resolv.h"
#include "packet-isis.h"
#include "packet-isis-clv.h"
#include "packet-isis-lsp.h"
+#include "resolv.h"
/* lsp packets */
static int proto_isis_lsp = -1;