diff options
author | Ville Skyttä <ville.skytta@iki.fi> | 2018-02-07 11:34:31 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2018-02-15 16:51:52 +0100 |
commit | 4ff84696af496c398f7621f65858a0120fc2c596 (patch) | |
tree | 5b325151efd1a1b9a0dd293e89d6b9abd5b88320 /src | |
parent | 25ab0aabf2e23aa1dcde0e0b8175f0d0417ef87e (diff) |
src: Spelling fixes
Signed-off-by: Ville Skyttä <ville.skytta@iki.fi>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/exthdr.c | 4 | ||||
-rw-r--r-- | src/netlink_delinearize.c | 2 | ||||
-rw-r--r-- | src/payload.c | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/src/exthdr.c b/src/exthdr.c index ac3e1632..f5c20ac2 100644 --- a/src/exthdr.c +++ b/src/exthdr.c @@ -26,8 +26,8 @@ static void exthdr_expr_print(const struct expr *expr, struct output_ctx *octx) { if (expr->exthdr.op == NFT_EXTHDR_OP_TCPOPT) { - /* Offset calcualtion is a bit hacky at this point. - * There might be an tcp option one day with another + /* Offset calculation is a bit hacky at this point. + * There might be a tcp option one day with another * multiplicator */ unsigned int offset = expr->exthdr.offset / 64; diff --git a/src/netlink_delinearize.c b/src/netlink_delinearize.c index 82eefa61..622425ee 100644 --- a/src/netlink_delinearize.c +++ b/src/netlink_delinearize.c @@ -2247,7 +2247,7 @@ static void stmt_payload_postprocess(struct rule_pp_ctx *ctx) /* * We can only remove payload dependencies if they occur without - * a statment with side effects in between. + * a statement with side effects in between. * * For instance: * 'ip protocol tcp tcp dport 22 counter' is same as diff --git a/src/payload.c b/src/payload.c index 15d055b6..6e762ff3 100644 --- a/src/payload.c +++ b/src/payload.c @@ -482,13 +482,13 @@ static bool payload_may_dependency_kill(struct payload_dep_ctx *ctx, } /** - * payload_dependency_kill - kill a redundant payload depedency + * payload_dependency_kill - kill a redundant payload dependency * * @ctx: payload dependency context * @expr: higher layer payload expression * * Kill a redundant payload expression if a higher layer payload expression - * implies its existance. Skip this if the dependency is a network payload and + * implies its existence. Skip this if the dependency is a network payload and * we are in bridge, netdev and inet families. */ void payload_dependency_kill(struct payload_dep_ctx *ctx, struct expr *expr, |