From 01acf09f746e4678e81b545b38ca682171628d02 Mon Sep 17 00:00:00 2001 From: Nobuhiro MIKI Date: Mon, 6 Mar 2023 11:49:17 +0900 Subject: ofproto: Fix man page for tunnel related commands. Fixed the manual page to indicate that both IPv4/IPv6 are supported. Also added missing pkt_mark on one side and fixed the "gw" and "bridge" notation quirks. Acked-by: Eelco Chaudron Reviewed-by: Simon Horman Signed-off-by: Nobuhiro MIKI Signed-off-by: Ilya Maximets --- lib/ovs-router.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/ovs-router.c') diff --git a/lib/ovs-router.c b/lib/ovs-router.c index b5ac1edb6..02fce9095 100644 --- a/lib/ovs-router.c +++ b/lib/ovs-router.c @@ -359,7 +359,7 @@ ovs_router_add(struct unixctl_conn *conn, int argc, is_ipv6 = true; } else { unixctl_command_reply_error(conn, - "Invalid 'ip_addr/prefix_len' parameter"); + "Invalid 'ip/plen' parameter"); return; } @@ -537,12 +537,12 @@ ovs_router_init(void) fatal_signal_add_hook(ovs_router_flush_handler, NULL, NULL, true); classifier_init(&cls, NULL); unixctl_command_register("ovs/route/add", - "ip_addr/prefix_len out_br_name [gw] " + "ip/plen output_bridge [gw] " "[pkt_mark=mark]", 2, 4, ovs_router_add, NULL); unixctl_command_register("ovs/route/show", "", 0, 0, ovs_router_show, NULL); - unixctl_command_register("ovs/route/del", "ip_addr/prefix_len " + unixctl_command_register("ovs/route/del", "ip/plen " "[pkt_mark=mark]", 1, 2, ovs_router_del, NULL); unixctl_command_register("ovs/route/lookup", "ip_addr " -- cgit v1.2.1