Closed alejandrodnm closed 4 years ago
When parsing the linux route file /proc/net/route instead of returning the gateway of the first entry on the file, we identify the default gateway as the entry with the Destination 0 and return its IP.
When parsing the linux route file /proc/net/route instead of returning the gateway of the first entry on the file, we identify the default gateway as the entry with the Destination 0 and return its IP.