View Single Post
Old 03-19-2025, 12:02 PM   #3
pazos
cosiņeiro
pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.
 
Posts: 1,406
Karma: 2451781
Join Date: Apr 2014
Device: BQ Cervantes 4
If you mean http proxy, look at https://github.com/koreader/koreader...nager.lua#L627

Unfortunately there's no way to retrieve the gateway ip. You'll need some platform dependant code in your patch. On plain linux you can parse /proc/net/route or use ip or route tools. I don't know much about the kindle.
pazos is offline   Reply With Quote