]> git.proxmox.com Git - mirror_iproute2.git/blobdiff - ip/iplink_geneve.c
ip: iptuntap: Convert to use print_on_off()
[mirror_iproute2.git] / ip / iplink_geneve.c
index 278a6e23b311a629eaeadd2c40c593d5c60a8ef8..9299236cbd33a2fb92ae319dd09ed16932f41624 100644 (file)
@@ -21,23 +21,23 @@ static void print_explain(FILE *f)
 {
        fprintf(f,
                "Usage: ... geneve id VNI\n"
-               "                  remote ADDR\n"
-               "                  [ ttl TTL ]\n"
-               "                  [ tos TOS ]\n"
-               "                  [ df DF ]\n"
-               "                  [ flowlabel LABEL ]\n"
-               "                  [ dstport PORT ]\n"
-               "                  [ [no]external ]\n"
-               "                  [ [no]udpcsum ]\n"
-               "                  [ [no]udp6zerocsumtx ]\n"
-               "                  [ [no]udp6zerocsumrx ]\n"
+               "               remote ADDR\n"
+               "               [ ttl TTL ]\n"
+               "               [ tos TOS ]\n"
+               "               [ df DF ]\n"
+               "               [ flowlabel LABEL ]\n"
+               "               [ dstport PORT ]\n"
+               "               [ [no]external ]\n"
+               "               [ [no]udpcsum ]\n"
+               "               [ [no]udp6zerocsumtx ]\n"
+               "               [ [no]udp6zerocsumrx ]\n"
                "\n"
-               "Where: VNI   := 0-16777215\n"
-               "       ADDR  := IP_ADDRESS\n"
-               "       TOS   := { NUMBER | inherit }\n"
-               "       TTL   := { 1..255 | auto | inherit }\n"
-               "       DF    := { unset | set | inherit }\n"
-               "       LABEL := 0-1048575\n"
+               "Where: VNI   := 0-16777215\n"
+               "       ADDR  := IP_ADDRESS\n"
+               "       TOS   := { NUMBER | inherit }\n"
+               "       TTL   := { 1..255 | auto | inherit }\n"
+               "       DF    := { unset | set | inherit }\n"
+               "       LABEL := 0-1048575\n"
        );
 }
 
@@ -251,7 +251,7 @@ static void geneve_print_opt(struct link_util *lu, FILE *f, struct rtattr *tb[])
                return;
 
        if (tb[IFLA_GENEVE_COLLECT_METADATA]) {
-               print_bool(PRINT_ANY, "external", "external", true);
+               print_bool(PRINT_ANY, "external", "external ", true);
                return;
        }