Skip to content

Commit

Permalink
sk-inet: fix codding style in restore_ip_opts
Browse files Browse the repository at this point in the history
Commit [1] introduced codding-style breackage, let's fix it.

Fixes: 66cab1f ("sk-inet: Added IP_TTL socket option") [1]
Signed-off-by: Pavel Tikhomirov <[email protected]>
  • Loading branch information
Snorch authored and avagin committed Feb 6, 2024
1 parent a49d6db commit 495081c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions criu/sk-inet.c
Original file line number Diff line number Diff line change
Expand Up @@ -821,8 +821,7 @@ int restore_ip_opts(int sk, int family, int proto, IpOptsEntry *ioe)
ret |= restore_opt(sk, SOL_IP, IP_TOS, &ioe->tos);
if (ioe->has_ttl)
ret |= restore_opt(sk, SOL_IP, IP_TTL, &ioe->ttl);

}
}

if (ioe->raw)
ret |= restore_ip_raw_opts(sk, family, proto, ioe->raw);
Expand Down

0 comments on commit 495081c

Please sign in to comment.