diff --git a/src/bin/network/route/route.cpp b/src/bin/network/route/route.cpp index ca2c310718..7b1c1cf14e 100644 --- a/src/bin/network/route/route.cpp +++ b/src/bin/network/route/route.cpp @@ -431,6 +431,10 @@ main(int argc, char** argv) i++; break; } else if (parse_address(familyIndex, argv[i], destination)) { + if (destination.IsEmpty()) { + defaultRoute = true; + route.flags = RTF_DEFAULT; + } i++; break; }