diff options
Diffstat (limited to 'proto/static')
-rw-r--r-- | proto/static/config.Y | 2 | ||||
-rw-r--r-- | proto/static/static.c | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/proto/static/config.Y b/proto/static/config.Y index 6e410879..41e10dbf 100644 --- a/proto/static/config.Y +++ b/proto/static/config.Y @@ -158,7 +158,7 @@ stat_route_opt_list: CF_CLI(SHOW STATIC, optproto, [<name>], [[Show details of static protocol]]) -{ static_show(proto_get_named($3, &proto_static)); } ; +{ PROTO_WALK_CMD($3, &proto_static, p) static_show(p); } ; CF_CODE diff --git a/proto/static/static.c b/proto/static/static.c index c899cc87..72b14991 100644 --- a/proto/static/static.c +++ b/proto/static/static.c @@ -647,7 +647,6 @@ static_show(struct proto *P) WALK_LIST(r, c->routes) static_show_rt(r); - cli_msg(0, ""); } |