diff options
author | Guy Harris <guy@alum.mit.edu> | 1999-10-12 23:12:06 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 1999-10-12 23:12:06 +0000 |
commit | 66d84f10933b9b897ff7172c37d2e9c393f5b7b4 (patch) | |
tree | e19527d829b9757011690334f702f7a3a19f9949 /packet-udp.c | |
parent | d92cf5c84bcfc7ca4b4fbc1f7f75c3a38e5e4e71 (diff) | |
download | wireshark-66d84f10933b9b897ff7172c37d2e9c393f5b7b4.tar.gz wireshark-66d84f10933b9b897ff7172c37d2e9c393f5b7b4.tar.bz2 wireshark-66d84f10933b9b897ff7172c37d2e9c393f5b7b4.zip |
Jun-ichiro itojun Hagino's changes for IPv6 extension header decoding
and RIPng decoding.
svn path=/trunk/; revision=818
Diffstat (limited to 'packet-udp.c')
-rw-r--r-- | packet-udp.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/packet-udp.c b/packet-udp.c index 23d56fb863..807e9da5f9 100644 --- a/packet-udp.c +++ b/packet-udp.c @@ -1,7 +1,7 @@ /* packet-udp.c * Routines for UDP packet disassembly * - * $Id: packet-udp.c,v 1.26 1999/10/12 06:20:19 gram Exp $ + * $Id: packet-udp.c,v 1.27 1999/10/12 23:12:03 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@zing.org> @@ -71,6 +71,7 @@ typedef struct _e_udphdr { #define UDP_PORT_SNMP 161 #define UDP_PORT_ISAKMP 500 #define UDP_PORT_RIP 520 +#define UDP_PORT_RIPNG 521 #define UDP_PORT_VINES 573 #define UDP_PORT_RADIUS 1645 #define UDP_PORT_RADIUS_NEW 1812 @@ -231,7 +232,9 @@ dissect_udp(const u_char *pd, int offset, frame_data *fd, proto_tree *tree) { else if (PORT_IS(UDP_PORT_RIP)) { /* we should check the source port too (RIP: UDP src and dst port 520) */ dissect_rip(pd, offset, fd, tree); - } else if (PORT_IS(UDP_PORT_NBNS)) + } else if (PORT_IS(UDP_PORT_RIPNG)) + dissect_ripng(pd, offset, fd, tree); + else if (PORT_IS(UDP_PORT_NBNS)) dissect_nbns(pd, offset, fd, tree); else if (PORT_IS(UDP_PORT_NBDGM)) dissect_nbdgm(pd, offset, fd, tree); |