]> git.proxmox.com Git - mirror_iproute2.git/blobdiff - ip/iproute.c
Merge branch 'iproute2-master' into iproute2-next
[mirror_iproute2.git] / ip / iproute.c
index 1326a6574fbed2668e8b92f2a6fffd6897ba4305..b039f35b0ccdfcef5007fb2210ee09995a023851 100644 (file)
@@ -923,15 +923,15 @@ int print_route(struct nlmsghdr *n, void *arg)
                print_rt_pref(fp, rta_getattr_u8(tb[RTA_PREF]));
 
        if (tb[RTA_TTL_PROPAGATE]) {
-               bool propogate = rta_getattr_u8(tb[RTA_TTL_PROPAGATE]);
+               bool propagate = rta_getattr_u8(tb[RTA_TTL_PROPAGATE]);
 
                if (is_json_context())
                        print_bool(PRINT_JSON, "ttl-propogate", NULL,
-                                  propogate);
+                                  propagate);
                else
                        print_string(PRINT_FP, NULL,
                                     "ttl-propogate %s",
-                                    propogate ? "enabled" : "disabled");
+                                    propagate ? "enabled" : "disabled");
        }
 
        print_string(PRINT_FP, NULL, "\n", NULL);