summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Bernstein <matt@bernstein.org.uk>2020-10-22 09:39:59 +0100
committerThomas Haller <thaller@redhat.com>2020-10-22 13:32:29 +0200
commit82b2251d2d9a9a77c9b2663abacc1880f45e7e37 (patch)
tree9517fd813831333f0126c1210caf7efc3bcc35e8
parent6677480a2d50b75bdbb1170f4006b2f9fb100d6a (diff)
cli: make clients able to configure VXLAN without "remote"
https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/658
-rw-r--r--clients/cli/connections.c2
-rw-r--r--clients/common/nm-meta-setting-desc.c1
2 files changed, 1 insertions, 2 deletions
diff --git a/clients/cli/connections.c b/clients/cli/connections.c
index 3714485a1..a321e5399 100644
--- a/clients/cli/connections.c
+++ b/clients/cli/connections.c
@@ -1102,7 +1102,7 @@ usage_connection_add(void)
" mode vepa|bridge|private|passthru|source\n"
" [tap yes|no]\n\n"
" vxlan: id <VXLAN ID>\n"
- " remote <IP of multicast group or remote address>\n"
+ " [remote <IP of multicast group or remote address>]\n"
" [local <source IP>]\n"
" [dev <parent device (ifname or connection UUID)>]\n"
" [source-port-min <0-65535>]\n"
diff --git a/clients/common/nm-meta-setting-desc.c b/clients/common/nm-meta-setting-desc.c
index 115f65591..2609c706f 100644
--- a/clients/common/nm-meta-setting-desc.c
+++ b/clients/common/nm-meta-setting-desc.c
@@ -7200,7 +7200,6 @@ static const NMMetaPropertyInfo *const property_infos_VXLAN[] = {
PROPERTY_INFO_WITH_DESC (NM_SETTING_VXLAN_REMOTE,
.is_cli_option = TRUE,
.property_alias = "remote",
- .inf_flags = NM_META_PROPERTY_INF_FLAG_REQD,
.prompt = N_("Remote"),
.property_type = &_pt_gobject_string,
),