ip: spelling fixes
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
This commit is contained in:
parent
f5a398bf17
commit
94b0c90152
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue