diff options
author | Nathan Neulinger <nneul@umr.edu> | 1999-12-03 22:04:24 +0000 |
---|---|---|
committer | Nathan Neulinger <nneul@umr.edu> | 1999-12-03 22:04:24 +0000 |
commit | 6877cdcd65a807cb3343a7a71fc1d5885d475ca6 (patch) | |
tree | 8e8c278c2cb1241b863aea4ed8de9de6a5c2b820 /packet-ipx.c | |
parent | fb6821f05984ff6e008f0f100869ef5d1bfcea79 (diff) |
added SNMP support to IPX
svn path=/trunk/; revision=1192
Diffstat (limited to 'packet-ipx.c')
-rw-r--r-- | packet-ipx.c | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/packet-ipx.c b/packet-ipx.c index 77fa3cba05..28d1439945 100644 --- a/packet-ipx.c +++ b/packet-ipx.c @@ -2,7 +2,7 @@ * Routines for NetWare's IPX * Gilbert Ramirez <gram@verdict.uthscsa.edu> * - * $Id: packet-ipx.c,v 1.40 1999/12/03 21:23:50 nneul Exp $ + * $Id: packet-ipx.c,v 1.41 1999/12/03 22:04:24 nneul Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@unicom.net> @@ -39,6 +39,10 @@ #include "packet-ncp.h" #include "resolv.h" +#if defined(HAVE_UCD_SNMP_SNMP_H) || defined(HAVE_SNMP_SNMP_H) +#include "packet-snmp.h" +#endif + /* The information in this module (IPX, SPX, NCP) comes from: NetWare LAN Analysis, Second Edition Laura A. Chappell and Dan E. Hakes @@ -166,8 +170,14 @@ static struct port_info ports[] = { "Attachmate Gateway" }, { IPX_SOCKET_IPX_MESSAGE, NULL, "IPX Message" }, +#if defined(HAVE_UCD_SNMP_SNMP_H) || defined(HAVE_SNMP_SNMP_H) + { IPX_SOCKET_SNMP_AGENT, dissect_snmp, "SNMP Agent" }, + { IPX_SOCKET_SNMP_SINK, dissect_snmp, "SNMP Sink" }, +#else { IPX_SOCKET_SNMP_AGENT, NULL, "SNMP Agent" }, { IPX_SOCKET_SNMP_SINK, NULL, "SNMP Sink" }, +#endif + { IPX_SOCKET_UDP_TUNNEL, NULL, "UDP Tunnel" }, { IPX_SOCKET_TCP_TUNNEL, NULL, "TCP Tunnel" }, { IPX_SOCKET_TCP_TUNNEL, NULL, "TCP Tunnel" }, |