ike-mobike: Don't trigger update for NAT mapping change detected during an address update
This is really only needed for other exchanges like DPDs not when we just updated the addresses. The NAT-D payloads are only used here to detect whether UDP encapsulation has to be enabled/disabled.
This commit is contained in:
@@ -574,7 +574,7 @@ METHOD(task_t, process_i, status_t,
|
|||||||
if (this->natd)
|
if (this->natd)
|
||||||
{
|
{
|
||||||
this->natd->task.process(&this->natd->task, message);
|
this->natd->task.process(&this->natd->task, message);
|
||||||
if (this->natd->has_mapping_changed(this->natd))
|
if (!this->update && this->natd->has_mapping_changed(this->natd))
|
||||||
{
|
{
|
||||||
/* force an update if mappings have changed */
|
/* force an update if mappings have changed */
|
||||||
this->update = this->check = TRUE;
|
this->update = this->check = TRUE;
|
||||||
|
|||||||
Reference in New Issue
Block a user