summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorNobuhiro MIKI <nmiki@yahoo-corp.jp>2023-03-06 11:49:17 +0900
committerIlya Maximets <i.maximets@ovn.org>2023-03-07 18:23:12 +0100
commit01acf09f746e4678e81b545b38ca682171628d02 (patch)
tree258b531c03bdbb03a36fd887c09c9dbd037607be /lib
parent915f084b9ff80f32e265c66c9b1aa51f9bbbd275 (diff)
downloadopenvswitch-01acf09f746e4678e81b545b38ca682171628d02.tar.gz
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 <echaudro@redhat.com> Reviewed-by: Simon Horman <simon.horman@corigine.com> Signed-off-by: Nobuhiro MIKI <nmiki@yahoo-corp.jp> Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
Diffstat (limited to 'lib')
-rw-r--r--lib/ovs-router.c6
1 files changed, 3 insertions, 3 deletions
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 "