2
0
mirror of https://github.com/koreader/koreader synced 2024-11-11 19:11:14 +00:00
koreader/frontend/device
NiLuJe 2ab3e48286 Make sure we only pass a single IP to ping
For some mysterious reason, I have a duplicate default gateway on my
Forma, one with no metrics, and a proper one.
This ensures we pick the proper one.

I'm fairly sure this is temporary insanity on the part of my device,
but, still, it can't hurt.

route -n:
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         192.168.0.1     0.0.0.0         UG    0      0        0 eth0
0.0.0.0         192.168.0.1     0.0.0.0         UG    208    0        0 eth0
192.168.0.0     0.0.0.0         255.255.255.0   U     208    0        0 eth0

ip r:
default via 192.168.0.1 dev eth0
default via 192.168.0.1 dev eth0  metric 208
192.168.0.0/24 dev eth0  src 192.168.0.49  metric 208
2019-06-29 19:53:14 +02:00
..
android Add Device:Info for android and use it in report a bug infomessage. 2019-06-21 19:55:19 +02:00
cervantes [fix] Update AutoWarmth state on resume (#4901) 2019-04-12 22:46:10 +02:00
dummy add dummy device & rename runtimectl:setDevice to runtimectl:init 2019-03-03 13:10:45 +01:00
generic Make sure we only pass a single IP to ping 2019-06-29 19:53:14 +02:00
kindle [fix] Kindle Basic 3: use Kobo snow protocol (#5071) 2019-06-11 09:12:57 +02:00
kobo Fix shutdown action on Kobo (#5055) 2019-06-03 18:54:45 +02:00
pocketbook Blacklist the C BB on devices where it cannot be used (#4989) 2019-05-02 04:27:48 +02:00
sdl [feat, UX] Add external link to Wallabag (#4863) 2019-03-31 19:19:07 +02:00
sony-prstux Slightly less crappy Nightmode (#4871) 2019-04-08 23:05:08 +02:00
gesturedetector.lua [fix] GestureDetector: fix typo in ges_coordinate_translation_90 (#4804) 2019-03-15 19:53:15 +01:00
input.lua Better-than-nothing key repeat handling. 2019-01-20 23:05:25 +01:00
key.lua
sysfs_light.lua Slightly less crappy Nightmode (#4871) 2019-04-08 23:05:08 +02:00