jackpal / gateway

A golang library for discovering the address of a LAN gateway.
BSD 3-Clause "New" or "Revised" License
226 stars 69 forks source link

Support localized output of Windows commands #21

Closed ndeloof closed 4 years ago

ndeloof commented 4 years ago

This changes the output parsing logic from "search for 'Active Routes:'" to "search for 2nd section".

Includes a test case for French localized output

jackpal commented 4 years ago

Thanks!