Programmatic way to find interface

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



What is a programmatic way to find out what interface is associated with the
default route?

I know this could be done by parsing /proc/sys/net/route, but is there a
more elegant solution?


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux