summaryrefslogtreecommitdiff
path: root/netspeed/src/backend.c
diff options
context:
space:
mode:
authorAlejandro Perez <[email protected]>2016-04-25 06:25:11 +0200
committerraveit65 <[email protected]>2016-05-12 18:09:23 +0200
commit4467ec4c53c8aa09ba744bb7f4f1be76773ed892 (patch)
tree79568a48d82ea2e12f4d290f696039b3cee153fd /netspeed/src/backend.c
parent15cf3500ad7f22b4bb85b1a23a3bb24fb1c7f15f (diff)
downloadmate-applets-4467ec4c53c8aa09ba744bb7f4f1be76773ed892.tar.bz2
mate-applets-4467ec4c53c8aa09ba744bb7f4f1be76773ed892.tar.xz
Use default route
- update backend.c
Diffstat (limited to 'netspeed/src/backend.c')
-rw-r--r--netspeed/src/backend.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/netspeed/src/backend.c b/netspeed/src/backend.c
index 17bbef24..bc5c91f0 100644
--- a/netspeed/src/backend.c
+++ b/netspeed/src/backend.c
@@ -109,7 +109,7 @@ get_default_route(void)
if (retval != 11) continue;
- if (gw == 0 && !is_dummy_device(device)) {
+ if (ip == 0 && !is_dummy_device(device)) {
fclose(fp);
return device;
}