12-17-2018, 11:01 AM
Oh okay - the result you had posted was IPv4. I'll do some testing with the IPv6 result - thanks.
grep -Po '(?<=(dev )).*(?= src| proto)' -- this selects the text between "dev " and either " src" or " proto". By deleting the second part, you'd break the result on most board, resulting in a result like you are reporting.
This is why I'm confused by your result of 172.217.10.142 via 192.168.0.1 dev eth0 src 192.168.0.28.
As you can see, eth0 is between "dev " and " src" - so the result would be eth0.
I think you tested and gave me answers from the wrong system :)
I'll fix it based on the new info. I see the problem based on your IPv6 result.
Robbie
grep -Po '(?<=(dev )).*(?= src| proto)' -- this selects the text between "dev " and either " src" or " proto". By deleting the second part, you'd break the result on most board, resulting in a result like you are reporting.
This is why I'm confused by your result of 172.217.10.142 via 192.168.0.1 dev eth0 src 192.168.0.28.
As you can see, eth0 is between "dev " and " src" - so the result would be eth0.
I think you tested and gave me answers from the wrong system :)
I'll fix it based on the new info. I see the problem based on your IPv6 result.
Robbie
Robbie Ferguson // The Bald Nerd
Did I help you out? Appreciate what I do? Please consider saying thanks:
Did I help you out? Appreciate what I do? Please consider saying thanks:
- Throw something in the tip jar: https://donate.category5.tv
- Support Category5 TV on Patreon: https://patreon.com/category5
- Support NEMS Linux on Patreon: https://patreon.com/nems