path: root/commands/ip-route-get.c
Commit message (Collapse)AuthorAgeFilesLines
* net: ip_route_get: resolv hostnamesSascha Hauer2019-01-041-1/+1
| | | | | | | When is a hostname instead of an IP address we have to resolv it. Signed-off-by: Sascha Hauer <>
* net: ip_route_get: Hook help text to commandSascha Hauer2019-01-041-0/+1
| | | | | | | The help text is present but not hooked into the command structure. Fix this. Signed-off-by: Sascha Hauer <>
* net: ip_route_get: Fix error messageSascha Hauer2019-01-041-2/+2
| | | | | | We do getopt(), so the next argument is in argv[optind], not in argv[1]. Signed-off-by: Sascha Hauer <>
* commands: Add ip_route_add commandSascha Hauer2017-12-151-0/+96
The ip_route_get command is used to retrieve the network device used to reach a given IP address. This is useful for informational purposes and also for the network boot which wants to get the linux.bootargs parameter of the network device used for nfsroot. Signed-off-by: Sascha Hauer <>