Program to determine the network interface of an ip address
Go to file
2021-06-10 13:09:57 +02:00
.editorconfig Initial Commit 2021-06-10 13:09:57 +02:00
.gitignore Initial Commit 2021-06-10 13:09:57 +02:00
.golangci.yml Initial Commit 2021-06-10 13:09:57 +02:00
Dockerfile Initial Commit 2021-06-10 13:09:57 +02:00
go.mod Initial Commit 2021-06-10 13:09:57 +02:00
LICENSE Initial Commit 2021-06-10 13:09:57 +02:00
main.go Initial Commit 2021-06-10 13:09:57 +02:00
Makefile Initial Commit 2021-06-10 13:09:57 +02:00
README.md Initial Commit 2021-06-10 13:09:57 +02:00

getidev

getidev is a small programme to determine the network interface for an IP address.

getidev 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.