de5018a1f1 | ||
---|---|---|
.editorconfig | ||
.gitignore | ||
.golangci.yml | ||
Dockerfile | ||
LICENSE | ||
Makefile | ||
README.md | ||
go.mod | ||
go.sum | ||
main.go | ||
renovate.json |
README.md
getpsrc
getpsrc
is a small programme to determine the src routing ip for an external ip.
getpsrc
serves as an alternative to ip route get <ip> | awk ...
because ip route get
can return different output depending on the environment and
therefore the construct is unsafe.