FilesSubmittedBranchesLabelsClientsUsersJobsHelp
Tree viewShow file textShow revision historyShow/hide recent activityInformation
//depot/projects/wardrive-map/kismet2xml.pl

Diffs between #1 and #2

@@ -23,6 +23,7 @@
2323 lat => $lat,
2424 lon => $lon,
2525 chan => $n->{channel},
26 wep => ($n->{wep} && $n->{wep} eq 'true') ? 1 : 0,
2627 };
2728 }
2829}
@@ -34,7 +35,7 @@
3435 $ssid =~ s/&/&/g;
3536 $ssid =~ s/</&lt;/g;
3637 $ssid =~ s/"/&quot;/g;
37 printf qq{ <net bssid="%s" ssid="%s" lat="%.6f" lng="%.6f" chan="%s"/>\n},
38 $b, $ssid, $n->{lat}, $n->{lon}, $n->{chan};
38 printf qq{ <net bssid="%s" ssid="%s" lat="%.6f" lng="%.6f" chan="%s" wep="%d"/>\n},
39 $b, $ssid, $n->{lat}, $n->{lon}, $n->{chan}, $n->{wep};
3940}
4041print "</nets>\n";

P4Web/LINUX26X86/2005.1/82295 · Copyright © 1995-2005 Perforce Software · ttul.org