Add protection code.
MFC after: 3 days CID: 748858
This commit is contained in:
parent
914cf89c0e
commit
bea1db1b0b
@ -3222,12 +3222,14 @@ plan_d:
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
#ifdef INET
|
#ifdef INET
|
||||||
if ((retried == 0) && (stcb->asoc.scope.ipv4_local_scope == 0)) {
|
if (stcb) {
|
||||||
stcb->asoc.scope.ipv4_local_scope = 1;
|
if ((retried == 0) && (stcb->asoc.scope.ipv4_local_scope == 0)) {
|
||||||
retried = 1;
|
stcb->asoc.scope.ipv4_local_scope = 1;
|
||||||
goto again_with_private_addresses_allowed;
|
retried = 1;
|
||||||
} else if (retried == 1) {
|
goto again_with_private_addresses_allowed;
|
||||||
stcb->asoc.scope.ipv4_local_scope = 0;
|
} else if (retried == 1) {
|
||||||
|
stcb->asoc.scope.ipv4_local_scope = 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
out:
|
out:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user