diosney / node-iproute

Show and manipulate network devices, routing, policy routing and tunnels.
MIT License
31 stars 15 forks source link

ip route get implemented ? #5

Closed la-urre closed 1 year ago

la-urre commented 6 years ago

Hello,

I can't find the equivalent for "ip route get " in your library, is it implemented ? Do you plan to implement it ?

How could I get the equivalent functionality ?

Thanks Dam

diosney commented 6 years ago

Hi @laurre, thanks for using the library, I will take a look and let you know, give me a day or two to refresh my memory and gets my hands dirty :D

la-urre commented 6 years ago

Cool, thanks @diosney ! I would be glad to help if needed (and also as a tester for sure)

diosney commented 1 year ago

I counted in Neptune's days, not Earth ones, lol.

Anyways, I just published version 2.0.0-beta, which is an overhaul of the library and fixes a lot of issues, this one included, since allowed me to add support for ip route get.

See route.get for the full reference on it.

The beta tag is mainly to keep it a week or two for you to test it and let me know of anything before publishing the final version, but it should be fine.

Sorry it took too long.

diosney commented 1 year ago

You can test the beta by issuing npm install iproute@beta.