diff options
author | Jun-ichiro itojun Hagino <itojun@itojun.org> | 2002-08-19 16:02:45 +0000 |
---|---|---|
committer | Jun-ichiro itojun Hagino <itojun@itojun.org> | 2002-08-19 16:02:45 +0000 |
commit | ae47e6ed2ec700737d965f8f3fb91548d46caf93 (patch) | |
tree | 144f5726147aadf5b2b8ce872abc3abcdb888bfa /packet-dns.c | |
parent | 42427f21a7b15f9bb7c30b994da37a43953facbf (diff) |
dissect LLMNR (formerly known as mDNS) on tcp/udp port 5353.
svn path=/trunk/; revision=6022
Diffstat (limited to 'packet-dns.c')
-rw-r--r-- | packet-dns.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/packet-dns.c b/packet-dns.c index df25723a2d..183732fe03 100644 --- a/packet-dns.c +++ b/packet-dns.c @@ -1,7 +1,7 @@ /* packet-dns.c * Routines for DNS packet disassembly * - * $Id: packet-dns.c,v 1.90 2002/08/02 23:35:48 jmayer Exp $ + * $Id: packet-dns.c,v 1.91 2002/08/19 16:02:45 itojun Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -76,6 +76,8 @@ static gboolean dns_desegment = TRUE; /* Ports used for DNS. */ #define UDP_PORT_DNS 53 #define TCP_PORT_DNS 53 +#define UDP_PORT_MDNS 5353 +#define TCP_PORT_MDNS 5353 /* Offsets of fields in the DNS header. */ #define DNS_ID 0 @@ -2145,4 +2147,6 @@ proto_reg_handoff_dns(void) dns_tcp_handle = create_dissector_handle(dissect_dns_tcp, proto_dns); dissector_add("udp.port", UDP_PORT_DNS, dns_udp_handle); dissector_add("tcp.port", TCP_PORT_DNS, dns_tcp_handle); + dissector_add("udp.port", UDP_PORT_MDNS, dns_udp_handle); + dissector_add("tcp.port", TCP_PORT_MDNS, dns_tcp_handle); } |