Skip to content
Snippets Groups Projects
Commit 7f4fc926 authored by Lotte Steenbrink's avatar Lotte Steenbrink
Browse files

Merge pull request #2812 from BytesGalore/fib_shell_return_values

sys/shell: added missing return values for FIB command handler
parents a18e9bb4 bbaddc75
No related branches found
No related tags found
No related merge requests found
...@@ -71,7 +71,7 @@ int _fib_route_handler(int argc, char **argv) ...@@ -71,7 +71,7 @@ int _fib_route_handler(int argc, char **argv)
/* e.g. fibroute right now dont care about the adress/protocol family */ /* e.g. fibroute right now dont care about the adress/protocol family */
if (argc == 1) { if (argc == 1) {
fib_print_routes(); fib_print_routes();
return; return 0;
} }
/* e.g. firoute [add|del] */ /* e.g. firoute [add|del] */
...@@ -209,4 +209,5 @@ int _fib_route_handler(int argc, char **argv) ...@@ -209,4 +209,5 @@ int _fib_route_handler(int argc, char **argv)
} }
puts("\nunrecognized parameters.\nPlease enter fibroute [add|del] for more information."); puts("\nunrecognized parameters.\nPlease enter fibroute [add|del] for more information.");
return 1;
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment