summaryrefslogtreecommitdiff
path: root/packet-portmap.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2002-05-11 18:52:55 +0000
committerGuy Harris <guy@alum.mit.edu>2002-05-11 18:52:55 +0000
commitc709d10b6fa115cf0be302186f54ff063dcfee4c (patch)
treec6be8189296866cdde8f0cabd171033866f8574c /packet-portmap.c
parent60e2475556ea7bbf465e8e1402fd8baf53941160 (diff)
downloadwireshark-c709d10b6fa115cf0be302186f54ff063dcfee4c.tar.gz
Use a name, not a number, to refer to the IP protocol number for UDP.
svn path=/trunk/; revision=5444
Diffstat (limited to 'packet-portmap.c')
-rw-r--r--packet-portmap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/packet-portmap.c b/packet-portmap.c
index dff5543f12..f5ce917ed4 100644
--- a/packet-portmap.c
+++ b/packet-portmap.c
@@ -1,7 +1,7 @@
/* packet-portmap.c
* Routines for portmap dissection
*
- * $Id: packet-portmap.c,v 1.36 2002/05/09 12:10:05 sahlberg Exp $
+ * $Id: packet-portmap.c,v 1.37 2002/05/11 18:52:55 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -84,7 +84,7 @@ dissect_getport_call(tvbuff_t *tvb, int offset, packet_info *pinfo _U_,
rpc_call_info_value *rpc_call=pinfo->private_data;
if(rpc_call){
proto = tvb_get_ntohl(tvb, offset+8);
- if(proto==17){ /* only do this for UDP */
+ if(proto==IP_PROTO_UDP){ /* only do this for UDP */
rpc_call->private_data=(void *)PT_UDP;
}
}