8000 internalip: Output broken by update to iproute2 · Issue #5 · rsp/scripts · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

internalip: Output broken by update to iproute2 #5

New issue 8A8D

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
stoneycode opened this issue Nov 13, 2018 · 0 comments
Open

internalip: Output broken by update to iproute2 #5

stoneycode opened this issue Nov 13, 2018 · 0 comments

Comments

@stoneycode
Copy link
stoneycode commented Nov 13, 2018

Observed in iproute2-ss180813: output is '1000'
This corresponds to the new output of ip route get n.n.n.n, that adds now default uid 1000 at the end.
Last line of code
ip route get $t | awk '{print $NF; exit}'
should now hardcode field 7
ip route get $t | awk '{print $7; exit}'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant
0