mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
Correct timer management (deprecated) in nd6_timer.
Obtained from: KAME MFC after: 3 days
This commit is contained in:
parent
de0d2cad31
commit
83649f07c7
1 changed files with 3 additions and 2 deletions
|
|
@ -578,7 +578,8 @@ nd6_timer(ignored_arg)
|
|||
|
||||
if (regen)
|
||||
goto addrloop; /* XXX: see below */
|
||||
} else if (IFA6_IS_DEPRECATED(ia6)) {
|
||||
}
|
||||
if (IFA6_IS_DEPRECATED(ia6)) {
|
||||
int oldflags = ia6->ia6_flags;
|
||||
|
||||
ia6->ia6_flags |= IN6_IFF_DEPRECATED;
|
||||
|
|
@ -607,7 +608,7 @@ nd6_timer(ignored_arg)
|
|||
goto addrloop;
|
||||
}
|
||||
}
|
||||
} else if (IFA6_IS_DEPRECATED(ia6)) {
|
||||
} else {
|
||||
/*
|
||||
* A new RA might have made a deprecated address
|
||||
* preferred.
|
||||
|
|
|
|||
Loading…
Reference in a new issue