ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/wvsniff/wvsniff
(Generate patch)

Comparing wvsniff/wvsniff (file contents):
Revision 1.9 by root, Sun Apr 28 02:50:40 2002 UTC vs.
Revision 1.10 by root, Sun Apr 28 03:12:58 2002 UTC

304 my %tag = decode_tags $pkt; 304 my %tag = decode_tags $pkt;
305 305
306 my $ap = $db->{$a3}{ap}{$a2} ||= {}; 306 my $ap = $db->{$a3}{ap}{$a2} ||= {};
307 $ap->{mode} = ($cf & 3) == 1 ? "AP" : "adhoc"; 307 $ap->{mode} = ($cf & 3) == 1 ? "AP" : "adhoc";
308 308
309 # ESSID ' ' workaround for wep-nets(?) 309 # ESSID ' ' workaround for "closed-network feature"
310 $ap->{essid} = $tag{SSID} unless $ap->{essid} && $tag{SSID} eq " "; 310 $ap->{essid} = $tag{SSID} unless $ap->{essid} && $tag{SSID} eq " ";
311 $ap->{channel} = ord $tag{DS}; 311 $ap->{channel} = ord $tag{DS};
312 $ap->{beacon}++; 312 $ap->{beacon}++;
313 313
314 activity $a3; 314 activity $a3;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines