From: Stephen Hemminger Date: Thu, 18 Oct 2018 20:23:11 +0000 (-0700) Subject: ip: spelling fixes X-Git-Tag: v4.19.0~12 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=94b0c90152604e76a4a275fed0098f64d2a95fc8;p=thirdparty%2Fiproute2.git ip: spelling fixes Signed-off-by: Stephen Hemminger --- diff --git a/ip/iproute.c b/ip/iproute.c index 398322fd1..1a68183c4 100644 --- a/ip/iproute.c +++ b/ip/iproute.c @@ -923,15 +923,15 @@ int print_route(const struct sockaddr_nl *who, 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); diff --git a/ip/xfrm_state.c b/ip/xfrm_state.c index 913e9fa3b..748f4849d 100644 --- a/ip/xfrm_state.c +++ b/ip/xfrm_state.c @@ -929,7 +929,7 @@ int xfrm_state_print(const struct sockaddr_nl *who, struct nlmsghdr *n, } if (n->nlmsg_type == XFRM_MSG_DELSA) { - /* Dont blame me for this .. Herbert made me do it */ + /* Don't blame me for this .. Herbert made me do it */ xsid = NLMSG_DATA(n); len -= NLMSG_SPACE(sizeof(*xsid)); } else if (n->nlmsg_type == XFRM_MSG_EXPIRE) {