mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
fix typo that caused a panic when processing an ICMP redirect
Sponsored by: FreeBSD Foundation
This commit is contained in:
parent
3bb2d995f0
commit
4de5d90c8e
1 changed files with 1 additions and 1 deletions
|
|
@ -351,7 +351,7 @@ rtredirect(struct sockaddr *dst,
|
|||
rt = NULL;
|
||||
error = rtrequest1(RTM_ADD, &info, &rt);
|
||||
if (rt != NULL) {
|
||||
RT_UNLOCK(rt);
|
||||
RT_LOCK(rt);
|
||||
flags = rt->rt_flags;
|
||||
}
|
||||
stat = &rtstat.rts_dynamic;
|
||||
|
|
|
|||
Loading…
Reference in a new issue