Bug 29419 - Localnet backend doesn't work
Summary: Localnet backend doesn't work
Status: RESOLVED FIXED
Alias: None
Product: GeoClue
Classification: Unclassified
Component: Backends (obsolete) (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Geoclue Bugs
QA Contact: Geoclue Bugs
URL:
Whiteboard:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2010-08-06 02:21 UTC by Guillaume Desmottes
Modified: 2010-08-06 02:39 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
trivial fix (838 bytes, patch)
2010-08-06 02:34 UTC, Guillaume Desmottes
Details | Splinter Review

Description Guillaume Desmottes 2010-08-06 02:21:57 UTC
My ~/.config/geoclue-localnet-gateways file contains some entries including:

[00:1a:2f:49:25:46]
countrycode=BE
locality=Bruxelles
street=Tanneurs
region=
area=
country=Belgique

I'm currently on this network and the address is correct. But when I call GetAddress() on org.freedesktop.Geoclue.Providers.Localnet I get:
(1281085991, {}, (0, 0.0, 0.0))
Comment 1 Guillaume Desmottes 2010-08-06 02:22:21 UTC
I tested using master btw.
Comment 2 Guillaume Desmottes 2010-08-06 02:34:06 UTC
Created attachment 37623 [details] [review]
trivial fix
Comment 3 Bastien Nocera 2010-08-06 02:39:54 UTC
commit 58acd321b885420f49ce872954da1191fa491d53
Author: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Date:   Fri Aug 6 11:32:44 2010 +0200

    geoclue-localnet: use g_ascii_strcasecmp to compare mac addresses (fdo #29419)


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.