Skip to content
Snippets Groups Projects
Commit 02a14a49 authored by Guy Zana's avatar Guy Zana
Browse files

route.js: added a call to route with no arguments

parent ee8cd808
No related branches found
No related tags found
No related merge requests found
......@@ -12,7 +12,11 @@ var route_cmd = {
add_deafult_gw: function(gwaddr) {
networking_interface.route_add_default(gwaddr);
},
print_route: function() {
return (run_cmd.run(["/tools/lsroute.so"]));
},
init: function() {
this._parser = new OptParser(route_options);
},
......@@ -31,7 +35,7 @@ var route_cmd = {
return;
}
this.help();
this.print_route();
},
tab: function(inp) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment