[Gd-chatter] r10871 - trunk/libraries/packetizer
hannes at gwydiondylan.org
hannes at gwydiondylan.org
Thu Aug 31 22:13:26 CEST 2006
Author: hannes
Date: Thu Aug 31 22:13:24 2006
New Revision: 10871
Modified:
trunk/libraries/packetizer/ieee80211.dylan
trunk/libraries/packetizer/ipv4.dylan
Log:
Bug: 7299
*minor fixes, udp 5353 is dns multicast.
Modified: trunk/libraries/packetizer/ieee80211.dylan
==============================================================================
--- trunk/libraries/packetizer/ieee80211.dylan (original)
+++ trunk/libraries/packetizer/ieee80211.dylan Thu Aug 31 22:13:24 2006
@@ -129,7 +129,7 @@
#x16 => "11";
otherwise => "Unknown rate";
end,
- "Mbit");
+ " Mbit");
end;
define protocol extended-rate (rate)
@@ -148,7 +148,7 @@
#x6c => "54";
otherwise => "Unknown";
end,
- "Mbit");
+ " Mbit");
end;
define method parse-frame (frame == <rate>, packet :: <byte-sequence>, #key start = 0)
@@ -379,4 +379,3 @@
end select;
end;
-
Modified: trunk/libraries/packetizer/ipv4.dylan
==============================================================================
--- trunk/libraries/packetizer/ipv4.dylan (original)
+++ trunk/libraries/packetizer/ipv4.dylan Thu Aug 31 22:13:24 2006
@@ -180,7 +180,10 @@
field checksum :: <2byte-big-endian-unsigned-integer>;
variably-typed-field payload,
end: frame.length * 8,
- type-function: if (frame.source-port = 53 | frame.destination-port = 53)
+ type-function: if (frame.source-port = 53
+ | frame.destination-port = 53
+ | frame.source-port = 5353
+ | frame.destination-port = 5353)
<dns-frame>
else
<raw-frame>
@@ -243,3 +246,4 @@
end
end;
+
More information about the chatter
mailing list