2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-30 22:05:36 +00:00

sk-inet: fix codding style in restore_ip_opts

Commit [1] introduced codding-style breackage, let's fix it.

Fixes: 66cab1f49 ("sk-inet: Added IP_TTL socket option") [1]
Signed-off-by: Pavel Tikhomirov <ptikhomirov@virtuozzo.com>
This commit is contained in:
Pavel Tikhomirov
2024-02-06 12:04:07 +08:00
committed by Andrei Vagin
parent 895a16c13c
commit bd17bd43e3

View File

@@ -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);