mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-12 14:29:28 +00:00
Correct timer management (deprecated) in nd6_timer.
Obtained from: KAME MFC after: 3 days
This commit is contained in:
parent
de0d2cad31
commit
83649f07c7
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=95395
@ -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 New Issue
Block a user