mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-31 14:25:49 +00:00
net: Don't try to restore sit6rd when not present
Due to a misprint in an if the 6rd info for sit device was restored when not present. https://github.com/xemul/criu/issues/366 Signed-off-by: Pavel Emelyanov <xemul@virtuozzo.com> Signed-off-by: Andrei Vagin <avagin@virtuozzo.com>
This commit is contained in:
@@ -1385,7 +1385,7 @@ static int sit_link_info(NetDeviceEntry *nde, struct newlink_req *req)
|
||||
DECODE_ENTRY(u16, IFLA_IPTUN_ENCAP_SPORT, encap_sport);
|
||||
DECODE_ENTRY(u16, IFLA_IPTUN_ENCAP_DPORT, encap_dport);
|
||||
|
||||
if (!se->has_rd_prefixlen) {
|
||||
if (se->has_rd_prefixlen) {
|
||||
u16 aux;
|
||||
|
||||
if (se->n_rd_prefix != 4) {
|
||||
|
Reference in New Issue
Block a user