Bug 29419

Summary: Localnet backend doesn't work
Product: GeoClue Reporter: Guillaume Desmottes <guillaume.desmottes>
Component: Backends (obsolete)Assignee: Geoclue Bugs <geoclue-bugs>
Status: RESOLVED FIXED QA Contact: Geoclue Bugs <geoclue-bugs>
Severity: normal    
Priority: medium Keywords: patch
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: trivial fix

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.