mirror of
https://github.com/freebsd/freebsd-src
synced 2024-07-22 18:56:38 +00:00
f262b06a57
route.c uses newroute() to handle the "route get" command. The logic inside newroute() adds RTF_GATEWAY flag if "-interface" flag is not specified. That results in the inconsistent RTM_GET message with RTF_GATEWAY set but no RTAX_GATEWAY provided. Address this in the translation code by checking if the gateway is actually provided. |
||
---|---|---|
.. | ||
tests | ||
keywords | ||
Makefile | ||
Makefile.depend | ||
route.8 | ||
route.c | ||
route_netlink.c |