diff options
Diffstat (limited to 'netspeed/src/backend.c')
-rw-r--r-- | netspeed/src/backend.c | 2 |
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; } |